CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2016/03/11 17:27:15

Modified files:
        sys/kern       : vfs_default.c 

Log message:
When vfs_busy() is sleeping, it uses RW_SLEEPFAIL and will fail.
So if vop_generic_revoke() does not unmount because the mount point
is busy, this could result in a mount point without a valid device.
It is better to check and sleep in a loop to avoid a corrupt mount
point.
OK natano@ krw@

Reply via email to