No need to delete export from filesystems which are not exported.
This commit is contained in:
parent
6f8fd102fa
commit
ec15646849
@ -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