]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: clean up do_import() a bit
authorJosh Durgin <josh.durgin@inktank.com>
Thu, 14 Mar 2013 16:22:56 +0000 (09:22 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Thu, 14 Mar 2013 16:22:58 +0000 (09:22 -0700)
commit8c774aace28d70b2bf436c8a500f4ea5b83086e5
tree5002c2b0d81cf7fec22c56adc75d426bb9cbe1d7
parent3091283895e8ffa3e4bda13399318a6e720d498f
rbd: clean up do_import() a bit

Move declarations above error conditons so we can goto done almost
everywhere. Remove cpp_strerror printing, since it will be done by the
caller.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/rbd.cc