diff options
author | Vijay Bellur <vbellur@redhat.com> | 2018-05-31 17:11:01 -0700 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-06-01 09:33:01 +0000 |
commit | b21f742f96d46b4adfa87281dd9a2e48fea8d031 (patch) | |
tree | dbaf4f7230953f356cc85743c62889a2eb2427fd /xlators/features/shard/src | |
parent | adb1168f4e06ba19ab0f138b43e289d179ce5d45 (diff) |
features/shard: Fix missing unlock in shard_fsync_shards_cbk()
updates: bz#789278
Change-Id: I745a98e957cf3c6ba69247fcf6b58dd05cf59c3c
Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/shard/src')
-rw-r--r-- | xlators/features/shard/src/shard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/shard/src/shard.c b/xlators/features/shard/src/shard.c index d27f5e51921..69140b1de2a 100644 --- a/xlators/features/shard/src/shard.c +++ b/xlators/features/shard/src/shard.c @@ -4668,6 +4668,7 @@ shard_fsync_shards_cbk (call_frame_t *frame, void *cookie, xlator_t *this, if (op_ret < 0) { local->op_ret = op_ret; local->op_errno = op_errno; + UNLOCK (&frame->lock); goto out; } shard_inode_ctx_set (local->fd->inode, this, postbuf, 0, |