From df580c4431de6fbf10017b891059583a52a406eb Mon Sep 17 00:00:00 2001 From: vmallika Date: Fri, 3 Jul 2015 17:32:04 +0530 Subject: quota: fix mem leak in quota enforcer Do inode_unref on parent Change-Id: I21d82eb8716dd73aa2dc291b3ae8506e4fb4ea8b BUG: 1207735 Signed-off-by: vmallika Reviewed-on: http://review.gluster.org/11526 Reviewed-by: Krishnan Parthasarathi Tested-by: Gluster Build System Tested-by: NetBSD Build System Reviewed-by: Raghavendra G Tested-by: Raghavendra G --- xlators/features/quota/src/quota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features') 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: -- cgit