]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nullfs: fix unmounts when filesystem is active.
authorkib <kib@FreeBSD.org>
Thu, 21 Mar 2019 13:30:48 +0000 (13:30 +0000)
committerkib <kib@FreeBSD.org>
Thu, 21 Mar 2019 13:30:48 +0000 (13:30 +0000)
commite9037b63940e8bd79fbb939cb050a0ed105a6208
tree9d3ccd474a0f8ba451287a645cca2b9af75d9028
parent6bc222605a21640fd15291ae9d91df83e882ad6b
nullfs: fix unmounts when filesystem is active.

If vflush() did not completely flushed the mount vnodes queue, either
retry for forced unmounts, or give up for non-forced.  This situation
can occur when new vnodes are instantiated while vflush() worked.

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/fs/nullfs/null_vfsops.c