projects
/
am-utils-6.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6bbb7d
)
make sure variables are initialized
author
Christos Zoulas
<christos@zoulas.com>
Thu, 22 Jan 2015 04:28:33 +0000
(23:28 -0500)
committer
Christos Zoulas
<christos@zoulas.com>
Thu, 22 Jan 2015 04:28:33 +0000
(23:28 -0500)
amd/nfs_subr.c
patch
|
blob
|
history
diff --git
a/amd/nfs_subr.c
b/amd/nfs_subr.c
index 7192a6af7d3e9093e6938a76b9174ffb7d2a5b79..30effba578d302c1a88fb5d60686d2ec7e585a78 100644
(file)
--- a/
amd/nfs_subr.c
+++ b/
amd/nfs_subr.c
@@
-1711,6
+1711,9
@@
am_nfs3_fsstat_3_svc(am_FSSTAT3args *argp, struct svc_req *rqstp)
if ((gopt.flags & CFM_SHOW_STATFS_ENTRIES) &&
mp->am_al->al_mnt && mp->am_al->al_mnt->mf_mopts) {
mnt.mnt_opts = mp->am_al->al_mnt->mf_mopts;
+ blocks = 0;
+ bfree = 0;
+ bavail = 0;
if (amu_hasmntopt(&mnt, "browsable")) {
count_map_entries(mp, &blocks, &bfree, &bavail);
}