cvs commit: src/sys/kern vfs_vnops.c
Jeff Roberson
jeff at FreeBSD.org
Sun Mar 23 21:17:35 PDT 2008
jeff 2008-03-24 04:17:35 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_vnops.c
Log:
- Don't acquire the vnode interlock in _vn_lock() unless no lock type
is requested. Handle this case specially before the while loop.
- Use the held vnode lock to check for VI_DOOMED. The vnode lock and
interlock must both be held to set VI_DOOMED so either one held, even
shared, is sufficient to check it.
No objection by: kib
Revision Changes Path
1.259 +13 -19 src/sys/kern/vfs_vnops.c
More information about the cvs-src
mailing list