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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"