summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-transaction.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-transaction.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-transaction.c')
-rw-r--r--xlators/cluster/afr/src/afr-transaction.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-transaction.c b/xlators/cluster/afr/src/afr-transaction.c
index eb41c5184..36e2812f9 100644
--- a/xlators/cluster/afr/src/afr-transaction.c
+++ b/xlators/cluster/afr/src/afr-transaction.c
@@ -1168,6 +1168,8 @@ afr_lock (call_frame_t *frame, xlator_t *this)
frame->root->pid = (long) frame->root;
+ afr_set_lk_owner (frame, this);
+
afr_set_lock_number (frame, this);
return afr_lock_rec (frame, this);