summaryrefslogtreecommitdiffstats
path: root/sys/fs/portalfs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-02-29 15:06:00 +0000
committerkib <kib@FreeBSD.org>2012-02-29 15:06:00 +0000
commit2ebb3c07b936648b7394ca73ec90ff4195207cad (patch)
treefe7ccdfea2451c5232f1a7cd3d62cc4d5a2004cb /sys/fs/portalfs
parent2a733f909a52c0dec8dd99f83ca793589eff7810 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud