From e5e9260c7936ce0b4d51855291421679acccaed4 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. Change-Id: I5176cf50bdb54529230fc72e4d1a65a20b4c14ba Reviewed-on: http://gerrit.openafs.org/6722 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- 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 b7c7fc613..e73ac4ea0 100644 --- a/src/vol/vol-info.c +++ b/src/vol/vol-info.c @@ -2177,6 +2177,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