mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 01:59:38 -04:00
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
2 changed files with 0 additions and 8 deletions
|
|
@ -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 a new issue