]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: update image name upon rename operations
authorJason Dillaman <dillaman@redhat.com>
Tue, 16 Feb 2016 17:59:42 +0000 (12:59 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 18 Feb 2016 20:45:51 +0000 (15:45 -0500)
commit3d8d9da3488d21c1a2a77636ce658dcfbbd7f999
tree651cae9a6a8848b0eb00e99a9170ae52bd616ce9
parentad78558a66e21844a9020bf39a2762e5a2a39f23
librbd: update image name upon rename operations

Previously the image could not have been renamed twice without
re-opening the image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/Operations.cc
src/librbd/operation/RenameRequest.cc
src/librbd/operation/RenameRequest.h