mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
No need to delete export from filesystems which are not exported.
This commit is contained in:
parent
e22b4acce2
commit
7f2c6e5e59
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=282915
@ -1731,6 +1731,12 @@ get_exportlist(void)
|
||||
continue;
|
||||
}
|
||||
|
||||
/*
|
||||
* 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().
|
||||
|
Loading…
Reference in New Issue
Block a user