diff options
author | vmallika <vmallika@redhat.com> | 2015-07-03 17:32:04 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-07-07 03:58:45 -0700 |
commit | df580c4431de6fbf10017b891059583a52a406eb (patch) | |
tree | 72fb1c962a95c3e40e91768ec277926532bba73e /xlators/features/quota | |
parent | 3e1866aee751a8e7870cdce5b171a9007029e63c (diff) |
quota: fix mem leak in quota enforcer
Do inode_unref on parent
Change-Id: I21d82eb8716dd73aa2dc291b3ae8506e4fb4ea8b
BUG: 1207735
Signed-off-by: vmallika <vmallika@redhat.com>
Reviewed-on: http://review.gluster.org/11526
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Tested-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/features/quota')
-rw-r--r-- | xlators/features/quota/src/quota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index eb3649f4522..921d014d228 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -955,8 +955,8 @@ quota_check_limit_continuation (struct list_head *parents, inode_t *inode, list_for_each_entry (entry, parents, next) { parent = inode_find (inode->table, entry->par); - quota_check_limit (frame, parent, this, NULL, NULL); + inode_unref (parent); } out: |