diff options
Diffstat (limited to 'xlators/cluster')
-rw-r--r-- | xlators/cluster/afr/src/afr-lk-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/cluster/afr/src/afr-lk-common.c b/xlators/cluster/afr/src/afr-lk-common.c index c8b0b66009e..b213826d03d 100644 --- a/xlators/cluster/afr/src/afr-lk-common.c +++ b/xlators/cluster/afr/src/afr-lk-common.c @@ -1704,8 +1704,8 @@ afr_mark_locked_nodes (xlator_t *this, fd_t *fd, priv = this->private; - afr_fd_ctx_set (this, fd); - if (ret < 0) + ret = afr_fd_ctx_set (this, fd); + if (ret) goto out; ret = fd_ctx_get (fd, this, &tmp); |