Edward Tomasz Napierala 53ae7e833c Fix getfsstat(2) with MNT_WAIT to not skip filesystems that are in the
process of being unmounted.  Previously it would skip them, even if the
unmount eventually failed eg due to the filesystem being busy.

This behaviour broke autounmountd(8) - if you tried to manually unmount
a mounted filesystem, using 'automount -u', and the autounmountd attempted
to refresh the filesystem list in that very moment, it would conclude that
the filesystem got unmounted and not try to unmount it afterwards.

Reviewed by:	kib@
Tested by:	pho@
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D8030
2016-11-02 09:43:19 +00:00
..
2016-11-02 00:57:04 +00:00
2016-10-28 11:46:39 +00:00
2016-09-22 15:17:36 +00:00
2016-10-28 02:10:07 +00:00
2016-11-02 03:07:01 +00:00
2016-10-31 20:43:43 +00:00