Removed support for the unsupported option READONLY. It just forced
dishonoring of requests for read-write mounts.
This commit is contained in:
parent
e85c2c0c75
commit
6ea19e8f61
@ -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…
x
Reference in New Issue
Block a user