diff options
author | 2020-08-10 06:25:02 +0000 | |
---|---|---|
committer | 2020-08-10 06:25:02 +0000 | |
commit | ab3a3b8852accd60c6263c443fbcf48aad0a46e2 (patch) | |
tree | acb3dede35cb200a2cab0c07988a28c944c4ea6a | |
parent | use EROFS when attempting to mount a 4.2BSD fs without MNT_RDONLY (diff) | |
download | wireguard-openbsd-ab3a3b8852accd60c6263c443fbcf48aad0a46e2.tar.xz wireguard-openbsd-ab3a3b8852accd60c6263c443fbcf48aad0a46e2.zip |
remove #if 0'd ufs2 magic error which predates ffs2 support
ok kn@
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 8014086876b..5bfec8dc339 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_vfsops.c,v 1.186 2020/08/10 05:47:37 jsg Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.187 2020/08/10 06:25:02 jsg Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -754,14 +754,6 @@ ffs_mountfs(struct vnode *devvp, struct mount *mp, struct proc *p) fs = (struct fs *) bp->b_data; sbloc = sbtry[i]; -#if 0 - if (fs->fs_magic == FS_UFS2_MAGIC) { - printf("ffs_mountfs(): Sorry, no UFS2 support (yet)\n"); - error = EFTYPE; - goto out; - } -#endif - /* * Do not look for an FFS1 file system at SBLOCK_UFS2. Doing so * will find the wrong super-block for file systems with 64k |