From 325ee7aeab629a7435922d9e61d04fd3418ec6d7 Mon Sep 17 00:00:00 2001 From: Mohammed Junaid Ahmed Date: Wed, 30 Mar 2011 07:54:41 +0000 Subject: return after stack winding instead of destroying the frame Signed-off-by: Raghavendra Bhat Signed-off-by: Junaid Signed-off-by: Vijay Bellur BUG: 2624 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2624 --- xlators/features/marker/src/marker-quota.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'xlators') diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c index a4bac037e..629c5de48 100644 --- a/xlators/features/marker/src/marker-quota.c +++ b/xlators/features/marker/src/marker-quota.c @@ -655,11 +655,12 @@ update_dirty_inode (xlator_t *this, lock.l_start = 0; lock.l_len = 0; - STACK_WIND (frame, - get_dirty_xattr, - FIRST_CHILD(this), - FIRST_CHILD(this)->fops->inodelk, - this->name, &local->loc, F_SETLKW, &lock); + STACK_WIND (frame, + get_dirty_xattr, + FIRST_CHILD(this), + FIRST_CHILD(this)->fops->inodelk, + this->name, &local->loc, F_SETLKW, &lock); + return 0; fr_destroy: QUOTA_STACK_DESTROY (frame, this); @@ -834,7 +835,7 @@ out: int32_t get_parent_inode_local (xlator_t *this, quota_local_t *local) { - uint32_t ret; + int32_t ret; quota_inode_ctx_t *ctx = NULL; loc_wipe (&local->loc); -- cgit