summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/quota/src/quota.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index 6d05273026a..569b3c00aa4 100644
--- a/xlators/features/quota/src/quota.c
+++ b/xlators/features/quota/src/quota.c
@@ -385,6 +385,7 @@ check_ancestory (call_frame_t *frame, inode_t *inode)
if (!parent) {
quota_build_ancestry (cur_inode,
check_ancestory_continue, frame);
+ inode_unref (cur_inode);
return;
}
inode_unref (cur_inode);