summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/afr')
-rw-r--r--xlators/cluster/afr/src/afr-transaction.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-transaction.c b/xlators/cluster/afr/src/afr-transaction.c
index 41418137ff0..41f36f4b2d8 100644
--- a/xlators/cluster/afr/src/afr-transaction.c
+++ b/xlators/cluster/afr/src/afr-transaction.c
@@ -2175,7 +2175,8 @@ afr_transaction_start (call_frame_t *frame, xlator_t *this)
if (!local->transaction.eager_lock_on && local->loc.inode) {
fd = fd_lookup (local->loc.inode, frame->root->pid);
if (fd == NULL)
- fd = fd_lookup_anonymous (local->loc.inode);
+ fd = fd_lookup_anonymous (local->loc.inode,
+ GF_ANON_FD_FLAGS);
if (fd) {
afr_delayed_changelog_wake_up (this, fd);