Removed support for the unsupported option READONLY. It just forced
dishonoring of requests for read-write mounts.
This commit is contained in:
parent
c534bd449e
commit
175aef1cdb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125842
@ -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;
|
||||
/*
|
||||
|
@ -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;
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user