cvs commit: src/sys/kern vfs_mount.c
kib at FreeBSD.org
Thu Apr 26 08:56:57 UTC 2007
kib 2007-04-26 08:56:57 UTC
FreeBSD src repository
Allow the dounmount() to proceed even for doomed coveredvp.
In dounmount(), before or while vn_lock(coveredvp) is called, coveredvp
vnode may be VI_DOOMED due to one of the following:
- other thread finished unmount and vput()ed it, and vnode was chosen
for recycling, while vn_lock() slept;
- forced unmount of the coveredvp->v_mount fs.
In the first case, next check for changed v_mountedhere or mnt_gen counter
would be successfull. In the second case, the unmount shall be allowed.
Submitted by: sobomax
MFC after: 2 weeks
Revision Changes Path
1.259 +1 -3 src/sys/kern/vfs_mount.c
More information about the cvs-src