diff options
-rw-r--r-- | xlators/cluster/afr/src/afr-inode-write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-write.c b/xlators/cluster/afr/src/afr-inode-write.c index 37909181e..eff01da86 100644 --- a/xlators/cluster/afr/src/afr-inode-write.c +++ b/xlators/cluster/afr/src/afr-inode-write.c @@ -1296,7 +1296,7 @@ afr_setxattr_wind_cbk (call_frame_t *frame, void *cookie, xlator_t *this, } local->success_count++; - if (local->success_count == priv->wait_count) { + if (local->success_count == priv->child_count) { need_unwind = 1; } } |