]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Lock the real null vnode lock before substitution of vp->v_vnlock.
authorKonstantin Belousov <kib@FreeBSD.org>
Sun, 31 May 2009 14:52:45 +0000 (14:52 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Sun, 31 May 2009 14:52:45 +0000 (14:52 +0000)
commitcec9ed6d7fa142732078b0b98dc83a45b393cadc
tree34b8c956e98e415223030df5cd11a454297d24c2
parentb1e4b9fcc4b0e5b8b9c1a2f14a380170d87c5622
Lock the real null vnode lock before substitution of vp->v_vnlock.
This should not really matter for correctness, since vp->v_lock is
not locked before the call, and null_lock() holds the interlock,
but makes the control flow for reclaim more clear.

Tested by: pho
sys/fs/nullfs/null_vnops.c