diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index 5687e434899d..664a5ff3bfb7 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -655,10 +655,6 @@ ext2_mountfs(devvp, mp, td) VOP_UNLOCK(devvp, 0, td); return (error); } -#ifdef READONLY -/* turn on this to force it to be read-only */ - mp->mnt_flag |= MNT_RDONLY; -#endif ronly = (mp->mnt_flag & MNT_RDONLY) != 0; /* diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index 5687e434899d..664a5ff3bfb7 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -655,10 +655,6 @@ ext2_mountfs(devvp, mp, td) VOP_UNLOCK(devvp, 0, td); return (error); } -#ifdef READONLY -/* turn on this to force it to be read-only */ - mp->mnt_flag |= MNT_RDONLY; -#endif ronly = (mp->mnt_flag & MNT_RDONLY) != 0; /*