]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: protect list_children from invalid child pool IoCtxs 3063/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 18 Nov 2014 02:49:26 +0000 (21:49 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 2 Dec 2014 07:34:31 +0000 (02:34 -0500)
commitaf121942d7bdfc59fcfae0429ffb12993e7e019d
tree0e955947183b791b9e77e13416be9b751a52b898
parentc982da44e0e9e0be3c3d4e8f5e0a186fb2fcebb3
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>
(cherry picked from commit 0d350b6817d7905908a4e432cd359ca1d36bab50)
src/librbd/internal.cc