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

This commit is contained in:
Simon J. Gerraty 2015-05-14 18:15:21 +00:00
parent e22b4acce2
commit 7f2c6e5e59
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=282915

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