diff options
author | jeff <jeff@FreeBSD.org> | 2008-03-24 04:17:35 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2008-03-24 04:17:35 +0000 |
commit | 1bf44343e2274c517fe62ccd58a5fecf8f64e5da (patch) | |
tree | 87eeb0612db339bcbd7fdd7e47ddc14423ce65bc /sys/kern/vfs_subr.c | |
parent | 955d594912f6c2359a899523e6e3097a542d4a70 (diff) | |
download | FreeBSD-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