summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/quota/src/quota.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index 44eca3e89..ebf6a5ec1 100644
--- a/xlators/features/quota/src/quota.c
+++ b/xlators/features/quota/src/quota.c
@@ -2182,6 +2182,8 @@ quota_fstat (call_frame_t *frame, xlator_t *this, fd_t *fd)
goto unwind;
}
+ frame->local = local;
+
local->loc.inode = inode_ref (fd->inode);
STACK_WIND (frame, quota_fstat_cbk, FIRST_CHILD(this),
@@ -2315,6 +2317,8 @@ quota_readv (call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size,
goto unwind;
}
+ frame->local = local;
+
local->loc.inode = inode_ref (fd->inode);
STACK_WIND (frame, quota_readv_cbk, FIRST_CHILD(this),
@@ -2516,6 +2520,8 @@ quota_fsetattr (call_frame_t *frame, xlator_t *this, fd_t *fd,
goto unwind;
}
+ frame->local = local;
+
local->loc.inode = inode_ref (fd->inode);
STACK_WIND (frame, quota_fsetattr_cbk, FIRST_CHILD (this),