]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: snap_remove should ignore -ENOENT errors 4035/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 16 Mar 2015 22:40:49 +0000 (18:40 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 16 Mar 2015 22:40:49 +0000 (18:40 -0400)
commitcf8094942ccdba831e03e5a79451cfa5d78a135f
tree6742783fec3c4a5a5ab94f7f68276fe8efa633a8
parent21afd0ef8e1fb81c5ace5fd403513c542e2413e3
librbd: snap_remove should ignore -ENOENT errors

If the attempt to deregister the snapshot from the parent
image fails with -ENOENT, ignore the error as it is safe
to assume that the child is not associated with the parent.

Fixes: #11113
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc