Removed support for the unsupported option READONLY. It just forced

dishonoring of requests for read-write mounts.
This commit is contained in:
bde 2004-02-15 07:15:58 +00:00
parent e85c2c0c75
commit 6ea19e8f61
2 changed files with 0 additions and 8 deletions

View File

@ -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;
/*

View File

@ -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;
/*