summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-common.c
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2012-03-01 11:43:57 -0800
committerVijay Bellur <vijay@gluster.com>2012-03-01 11:43:57 -0800
commit468768d2803fa2cedafd7fc1dd379c69f45f50af (patch)
treec7b33c29a80152ea414e210e9526417f18e31fe9 /xlators/cluster/afr/src/afr-self-heal-common.c
parent71cffc0b66b849306778515d385083b9f78857f5 (diff)
Revert "afr: [Un]Set the 'right' lkowner for [f]{inode|entry}_lk and the 'enclosed' fop."v3.3.0qa25
This reverts commit bcfd365c10d20bde920a3c6cdd1f95b7da5ffe84.
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-common.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c
index a70d2754b..de89f88cf 100644
--- a/xlators/cluster/afr/src/afr-self-heal-common.c
+++ b/xlators/cluster/afr/src/afr-self-heal-common.c
@@ -2077,6 +2077,7 @@ afr_self_heal (call_frame_t *frame, xlator_t *this, inode_t *inode)
sh_frame = copy_frame (frame);
if (!sh_frame)
goto out;
+ afr_set_lk_owner (sh_frame, this);
afr_set_low_priority (sh_frame);
sh_local = afr_local_copy (local, this);