From: Michael Meffie Date: Thu, 16 Feb 2012 15:58:50 +0000 (-0500) Subject: volinfo: initialize vnode details X-Git-Tag: upstream/1.6.10_pre1^2~14 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=52968010955bb7371ce43a91b5cc39872012511c;p=packages%2Fo%2Fopenafs.git volinfo: initialize vnode details Clear the vnode details object. Fixes the path lookup in volscan. Reviewed-on: http://gerrit.openafs.org/6722 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit e5e9260c7936ce0b4d51855291421679acccaed4) Change-Id: If9848191166a774e99e68410d7891564743975e5 Reviewed-on: http://gerrit.openafs.org/11270 Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Andrew Deason Tested-by: BuildBot Reviewed-by: Stephan Wiesand --- diff --git a/src/vol/vol-info.c b/src/vol/vol-info.c index 8e0285bee..96194ba6b 100644 --- a/src/vol/vol-info.c +++ b/src/vol/vol-info.c @@ -2203,6 +2203,7 @@ HandleVnodes(Volume * vp, VnodeClass class) continue; } + memset(&vnodeDetails, 0, sizeof(struct VnodeDetails)); vnodeDetails.vp = vp; vnodeDetails.class = class; vnodeDetails.vnode = vnode;