mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Prevent mountd(8) from resetting mount options when exporting a filesystem.
Approved by: imp (mentor) Sponsored by: Quality Service Provider BV MFC after: 3 days
This commit is contained in:
parent
667dc26e71
commit
6a5a80bd0f
1 changed files with 1 additions and 1 deletions
|
|
@ -1918,7 +1918,7 @@ do_mount(struct exportlist *ep, struct grouplist *grp, int exflags,
|
|||
iov[5].iov_base = fsb->f_mntfromname; /* "from" */
|
||||
iov[5].iov_len = strlen(fsb->f_mntfromname) + 1;
|
||||
|
||||
while (nmount(iov, iovlen, 0) < 0) {
|
||||
while (nmount(iov, iovlen, fsb->f_flags) < 0) {
|
||||
if (cp)
|
||||
*cp-- = savedc;
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue