aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2004-02-15 07:15:58 +0000
committerBruce Evans <bde@FreeBSD.org>2004-02-15 07:15:58 +0000
commit175aef1cdb46c2488ccc3e9921ffb3755a8a039c (patch)
tree1b369591b6a93d3e69816982e474367a416c5e4c /sys/gnu
parentc534bd449ee2c64c5760b9545d791233051119d4 (diff)
Notes
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/ext2fs/ext2_vfsops.c4
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c4
2 files changed, 0 insertions, 8 deletions
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;
/*