diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2012-05-24 19:56:55 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-05-24 17:44:04 -0700 |
commit | 6846a3343ff5d94262734a682a672983a75ef878 (patch) | |
tree | f0b0ff0cc04e0d21689e1c2fe4d99b9b60287819 | |
parent | 89b3466373191b7d2f0001778308b2393ea74da6 (diff) |
cluster/afr: decrement changelog when fdctx is absent
Change-Id: I9d76ddbd2cf8e4e8e4ad70529ba3a70178489a68
BUG: 765194
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Reviewed-on: http://review.gluster.com/3435
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r-- | xlators/cluster/afr/src/afr-transaction.c | 2 |
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 1d744d4eb..6634b3102 100644 --- a/xlators/cluster/afr/src/afr-transaction.c +++ b/xlators/cluster/afr/src/afr-transaction.c @@ -592,6 +592,8 @@ afr_changelog_post_op (call_frame_t *frame, xlator_t *this) case AFR_DATA_TRANSACTION: { if (!fdctx) { + afr_set_postop_dict (local, this, xattr[i], + 0, i); STACK_WIND (frame, afr_changelog_post_op_cbk, priv->children[i], priv->children[i]->fops->xattrop, |