]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: protect list_children from invalid child pool IoCtxs 2980/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 18 Nov 2014 02:49:26 +0000 (21:49 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 18 Nov 2014 02:53:19 +0000 (21:53 -0500)
commit0d350b6817d7905908a4e432cd359ca1d36bab50
tree9622cffdb566201e70d6d463d0cb348d624e6774
parentcb001e7a6bebdf03a26116c555ae8dd897cbf647
librbd: protect list_children from invalid child pool IoCtxs

While listing child images, don't ignore error codes returned
from librados when creating an IoCtx. This will prevent seg
faults from occurring when an invalid IoCtx is used.

Fixes: #10123
Backport: giant, firefly, dumpling
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc