]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: ignore blacklist error when releasing exclusive lock
authorJason Dillaman <dillaman@redhat.com>
Wed, 4 Jan 2017 17:12:27 +0000 (12:12 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 11 Jan 2017 20:46:23 +0000 (15:46 -0500)
commit3a6ae516230bec133709c640d701a8f3f3989089
tree42de990d2d3c27ab741361341eb0bf5d79673976
parent5e2257e917cc67d068e706cba7d1e41813e60f30
librbd: ignore blacklist error when releasing exclusive lock

This ensures the journal and object map are properly closed so that the
image can be properly closed w/o failing any assertions.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 418dcf29cb8c450049047e09a4dad2941af87018)
src/librbd/exclusive_lock/ReleaseRequest.cc
src/test/librbd/exclusive_lock/test_mock_ReleaseRequest.cc