From 52968010955bb7371ce43a91b5cc39872012511c Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Thu, 16 Feb 2012 10:58:50 -0500 Subject: [PATCH] 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 --- src/vol/vol-info.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5