]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: list_children should not attempt to refresh image 18114/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 4 Oct 2017 14:46:46 +0000 (10:46 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 4 Oct 2017 14:46:46 +0000 (10:46 -0400)
commit4c585d826f38ff97d3a484a30eca0588c79396b4
treef6e7dd6d3a4c59f294eca0d5030276e467689657
parente462f6cc8af43150252015ecd4d3012974b75ec9
librbd: list_children should not attempt to refresh image

The snap_lock is being held when this method is invoked, which can
result in a deadlock.

Fixes: http://tracker.ceph.com/issues/21670
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/api/Image.cc
src/librbd/internal.cc