Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-17690 quota: uninitialized var in qmt_lgd_extend_cb()
[fs/lustre-release.git]
/
lustre
/
quota
/
qmt_pool.c
diff --git
a/lustre/quota/qmt_pool.c
b/lustre/quota/qmt_pool.c
index
66c4aa4
..
6d08e9e
100644
(file)
--- a/
lustre/quota/qmt_pool.c
+++ b/
lustre/quota/qmt_pool.c
@@
-705,7
+705,7
@@
static int qmt_lgd_extend_cb(struct cfs_hash *hs, struct cfs_hash_bd *bd,
{
struct lqe_glbl_entry *lqeg_arr, *old_lqeg_arr;
struct lquota_entry *lqe;
- int old_num, rc;
+ int old_num
= 0
, rc;
lqe = hlist_entry(hnode, struct lquota_entry, lqe_hash);
LASSERT(atomic_read(&lqe->lqe_ref) > 0);