summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2008-03-24 04:17:35 +0000
committerjeff <jeff@FreeBSD.org>2008-03-24 04:17:35 +0000
commit1bf44343e2274c517fe62ccd58a5fecf8f64e5da (patch)
tree87eeb0612db339bcbd7fdd7e47ddc14423ce65bc /sys/kern/vfs_subr.c
parent955d594912f6c2359a899523e6e3097a542d4a70 (diff)
downloadFreeBSD-src-1bf44343e2274c517fe62ccd58a5fecf8f64e5da.zip
FreeBSD-src-1bf44343e2274c517fe62ccd58a5fecf8f64e5da.tar.gz
- 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
Diffstat (limited to 'sys/kern/vfs_subr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud