diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2011-10-26 12:30:29 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-11-23 09:56:30 -0800 |
commit | 9ac21b5a3e1b0d4afba1afb04ec62ce75e302a5e (patch) | |
tree | 41a00756551772ca5fd7bf7e590ee4c9e3e05ba2 /xlators/cluster/afr/src/afr-self-heal-data.c | |
parent | 0413d46873d082bbd3ee41aced3db01e444422d9 (diff) |
cluster/afr: Remove treating sh_frame as special loop_frame
Change-Id: I0d87f06f989b2d4b971967c52d4898331693a801
BUG: 3675
Reviewed-on: http://review.gluster.com/735
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-data.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-data.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-data.c b/xlators/cluster/afr/src/afr-self-heal-data.c index fd351e976..431cef492 100644 --- a/xlators/cluster/afr/src/afr-self-heal-data.c +++ b/xlators/cluster/afr/src/afr-self-heal-data.c @@ -370,13 +370,7 @@ afr_sh_data_erase_pending_cbk (call_frame_t *frame, void *cookie, afr_sh_data_finish (frame, this); goto out; } - if (NULL == sh->old_loop_frame) { - GF_ASSERT (sh->data_lock_held); - afr_sh_data_fxattrop (frame, this, - afr_post_sh_data_fxattrop_cbk); - goto out; - } - + GF_ASSERT (sh->old_loop_frame); afr_sh_data_lock (frame, this, 0, 0, afr_post_sh_big_lock_success, afr_post_sh_big_lock_failure); |