ceph/ceph — pull request #3079 by dillaman (2014-12-04 14:25:54+00:00)
Title: librbd: don't close an already closed parent image upon failure

If librbd is not able to open a child's parent image, it will
incorrectly close the parent image twice, resulting in a crash.

Fixes: #10030
Backport: firefly, giant
Signed-off-by: Jason Dillaman
(cherry picked from commit 61ebfebd59b61ffdc203dfeca01ee1a02315133e)