git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a4d9fba
)
volinfo: initialize vnode details
author
Michael Meffie
<mmeffie@sinenomine.net>
Thu, 16 Feb 2012 15:58:50 +0000 (10:58 -0500)
committer
Derrick Brashear
<shadow@dementix.org>
Thu, 16 Feb 2012 19:45:14 +0000 (11:45 -0800)
Clear the vnode details object. Fixes the path lookup in volscan.
Change-Id: I5176cf50bdb54529230fc72e4d1a65a20b4c14ba
Reviewed-on: http://gerrit.openafs.org/6722
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/vol/vol-info.c
patch
|
blob
|
history
diff --git
a/src/vol/vol-info.c
b/src/vol/vol-info.c
index
b7c7fc6
..
e73ac4e
100644
(file)
--- 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;