diff options
author | kib <kib@FreeBSD.org> | 2012-02-29 15:06:00 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-02-29 15:06:00 +0000 |
commit | 2ebb3c07b936648b7394ca73ec90ff4195207cad (patch) | |
tree | fe7ccdfea2451c5232f1a7cd3d62cc4d5a2004cb /sys/fs/portalfs | |
parent | 2a733f909a52c0dec8dd99f83ca793589eff7810 (diff) | |
download | FreeBSD-src-2ebb3c07b936648b7394ca73ec90ff4195207cad.zip FreeBSD-src-2ebb3c07b936648b7394ca73ec90ff4195207cad.tar.gz |
Move the code to destroy half-contructed nullfs vnode into helper
function null_destroy_proto() from null_insmntque_dtr(). Also
apply null_destroy_proto() in null_nodeget() when we raced and a vnode
is found in the hash, so the currently allocated protonode shall be
destroyed.
Lock the vnode interlock around reassigning the v_vnlock.
In fact, this path will not be exercised after several later commits,
since null_nodeget() cannot take shared-locked lowervp at all due to
insmntque() requirements.
Reported by: rea
Tested by: pho
MFC after: 1 week
Diffstat (limited to 'sys/fs/portalfs')
0 files changed, 0 insertions, 0 deletions