diff options
| author | Simon J. Gerraty <sjg@FreeBSD.org> | 2015-04-18 19:52:39 +0000 |
|---|---|---|
| committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2015-04-18 19:52:39 +0000 |
| commit | 2ef26470c5364436fe67f4c4df9a7ae373aa76f8 (patch) | |
| tree | e5b46c49344cc95f4dd10a026a5aaae29e225e28 /usr.sbin/mountd | |
| parent | 18c5ed7145f044995c62ce9d3b1890664a50f0ef (diff) | |
Notes
Diffstat (limited to 'usr.sbin/mountd')
| -rw-r--r-- | usr.sbin/mountd/mountd.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index ad1964e076350..d71f1d9e09be9 100644 --- a/usr.sbin/mountd/mountd.c +++ b/usr.sbin/mountd/mountd.c @@ -1732,6 +1732,12 @@ get_exportlist(void) } /* + * We do not need to delete "export" flag from + * filesystems that do not have it set. + */ + if (!(fsp->f_flags & MNT_EXPORTED)) + continue; + /* * Do not delete export for network filesystem by * passing "export" arg to nmount(). * It only makes sense to do this for local filesystems. |
