Removed support for the unsupported option READONLY. It just forced

dishonoring of requests for read-write mounts.
This commit is contained in:
Bruce Evans 2004-02-15 07:15:58 +00:00
parent c534bd449e
commit 175aef1cdb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125842
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;
/*