]> 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>
Mon, 16 Mar 2015 22:35:07 +0000 (18:35 -0400)
commit21afd0ef8e1fb81c5ace5fd403513c542e2413e3
tree1bfbbdb053255ba9f741b9aa16e6cb98aeaba9a4
parent1eb6f6df2f2382f58142349f0395ba600a9f50d9
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>
src/librbd/internal.cc