diff options
author | kib <kib@FreeBSD.org> | 2007-04-26 08:56:56 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2007-04-26 08:56:56 +0000 |
commit | 83b7f9371b55e9dc70942dc452b4b87d5b2315d9 (patch) | |
tree | 37d6327b4b01f08cc2ec1e40bb328f146d1a065e /sys/bsm | |
parent | 2f0b14e001cb8efebc5b89f79d0c91e3cdbc0869 (diff) | |
download | FreeBSD-src-83b7f9371b55e9dc70942dc452b4b87d5b2315d9.zip FreeBSD-src-83b7f9371b55e9dc70942dc452b4b87d5b2315d9.tar.gz |
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
Diffstat (limited to 'sys/bsm')
0 files changed, 0 insertions, 0 deletions