diff options
author | Mohammed Junaid Ahmed <junaid@gluster.com> | 2011-03-30 07:54:41 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2011-03-30 08:22:15 -0700 |
commit | 325ee7aeab629a7435922d9e61d04fd3418ec6d7 (patch) | |
tree | 338394b649173731c30fb8fb40dd7e6e2e79317d /xlators/features/marker | |
parent | ca67876f15347faccba9fdd3f3f2997c58ef3fa6 (diff) |
return after stack winding instead of destroying the frame
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Signed-off-by: Junaid <junaid@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 2624 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2624
Diffstat (limited to 'xlators/features/marker')
-rw-r--r-- | xlators/features/marker/src/marker-quota.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c index a4bac037ebf..629c5de48af 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); |