diff options
author | Ravishankar N <ravishankar@redhat.com> | 2018-04-16 15:38:34 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2018-04-18 07:49:12 +0000 |
commit | 7b0781a45bba826a790aa4d5a125693ac2be28ab (patch) | |
tree | f2e4e8e75401843671abfbc8feb9d1ea8491ffd2 /libglusterfs | |
parent | e96695de4354fb58775d5baa50f07651c0592f0f (diff) |
afr: fixes to afr-eager locking
1. If pre-op fails on all bricks,set lock->release to true in
afr_handle_lock_acquire_failure so that the GF_ASSERT in afr_unlock() does not
crash.
2. Added a missing 'return' after handling pre-op failure in
afr_transaction_perform_fop(), fixing a use-after-free issue.
Change-Id: If0627a9124cb5d6405037cab3f17f8325eed2d83
fixes: bz#1561129
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions