No need to delete export from filesystems which are not exported.

This commit is contained in:
Simon J. Gerraty 2015-04-18 19:52:39 +00:00
parent 18c5ed7145
commit 2ef26470c5

View File

@ -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().