]> 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:53:46 +0000 (15:53 -0400)
commitb250b3cfae69f4e8354027fae26fd85a792da0df
treed6993eb381bc99409d6ee87cb72c99c6a6dfb088
parent899738e10e82b50dcf7dfffe5cc83937179bf323
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