]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: get_parent_info should protect against invalid parent
authorJason Dillaman <dillaman@redhat.com>
Mon, 16 Mar 2015 22:35:07 +0000 (18:35 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 1 Apr 2015 19:54:51 +0000 (15:54 -0400)
commit572a2f5707f91f11c3ccaeca3ae88d8914d3dbc2
treec5df5cb2fb533179988d7dd0fdea5ca2f0955ae2
parent28787d2184754a2988a26abb23eb3fa91d1d46fd
librbd: get_parent_info should protect against invalid parent

get_parent_info should return -ENOENT if the image does not
have an associated parent image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 21afd0ef8e1fb81c5ace5fd403513c542e2413e3)
src/librbd/internal.cc