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

This commit is contained in:
sjg 2015-04-18 19:52:39 +00:00
parent 6f8fd102fa
commit ec15646849

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