]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: avoid throwing error if mirroring is unsupported 8417/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 1 Apr 2016 16:08:12 +0000 (12:08 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 1 Apr 2016 16:08:12 +0000 (12:08 -0400)
commit3dd5249b6a665bfef7fafccc85b560b0ea1ef784
treee9aa634e6e20d92be2253367c2a4b73070c26f3c
parent1f3aad6b1010de5f463fac0eae0501bd2cc8617e
librbd: avoid throwing error if mirroring is unsupported

Attempting to remove an image will remove the image from the mirroring
directory.  However, if the OSD is older and doesn't support this
new feature, avoid throwing an error.

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