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