|
|
7f4c2a |
From cb49857a7bc2f478c32d87a65605d87b2a8a0a0d Mon Sep 17 00:00:00 2001
|
|
|
7f4c2a |
From: Pranith Kumar K <pkarampu@redhat.com>
|
|
|
7f4c2a |
Date: Tue, 2 Jun 2015 17:58:00 +0530
|
|
|
7f4c2a |
Subject: [PATCH 20/57] features/quota: Fix ref-leak
|
|
|
7f4c2a |
|
|
|
7f4c2a |
This is a backport of http://review.gluster.org/#/c/11045/
|
|
|
7f4c2a |
|
|
|
7f4c2a |
> Change-Id: I0b44b70f07be441e044d9dfc5c2b64bd5b4cac18
|
|
|
7f4c2a |
> BUG: 1207735
|
|
|
7f4c2a |
> Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
|
|
|
7f4c2a |
> Reviewed-on: http://review.gluster.org/11045
|
|
|
7f4c2a |
> Tested-by: Gluster Build System <jenkins@build.gluster.com>
|
|
|
7f4c2a |
> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
|
|
|
7f4c2a |
> Tested-by: Raghavendra G <rgowdapp@redhat.com>
|
|
|
7f4c2a |
> Signed-off-by: vmallika <vmallika@redhat.com>
|
|
|
7f4c2a |
|
|
|
7f4c2a |
Change-Id: I77cfcf978fdbcfdba912349eb02ed0210b0861e9
|
|
|
7f4c2a |
BUG: 1224177
|
|
|
7f4c2a |
Signed-off-by: vmallika <vmallika@redhat.com>
|
|
|
7f4c2a |
Reviewed-on: https://code.engineering.redhat.com/gerrit/50223
|
|
|
7f4c2a |
Reviewed-by: Raghavendra Gowdappa <rgowdapp@redhat.com>
|
|
|
7f4c2a |
Tested-by: Raghavendra Gowdappa <rgowdapp@redhat.com>
|
|
|
7f4c2a |
---
|
|
|
7f4c2a |
xlators/features/quota/src/quota.c | 1 +
|
|
|
7f4c2a |
1 files changed, 1 insertions(+), 0 deletions(-)
|
|
|
7f4c2a |
|
|
|
7f4c2a |
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
|
|
|
7f4c2a |
index 6d05273..569b3c0 100644
|
|
|
7f4c2a |
--- a/xlators/features/quota/src/quota.c
|
|
|
7f4c2a |
+++ b/xlators/features/quota/src/quota.c
|
|
|
7f4c2a |
@@ -385,6 +385,7 @@ check_ancestory (call_frame_t *frame, inode_t *inode)
|
|
|
7f4c2a |
if (!parent) {
|
|
|
7f4c2a |
quota_build_ancestry (cur_inode,
|
|
|
7f4c2a |
check_ancestory_continue, frame);
|
|
|
7f4c2a |
+ inode_unref (cur_inode);
|
|
|
7f4c2a |
return;
|
|
|
7f4c2a |
}
|
|
|
7f4c2a |
inode_unref (cur_inode);
|
|
|
7f4c2a |
--
|
|
|
7f4c2a |
1.7.1
|
|
|
7f4c2a |
|