Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | afr: fixes to afr-eager locking | Ravishankar N | 2018-04-18 | 1 | -0/+24 |
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> |