]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: propagate any image refresh errors back to caller 8867/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 27 Apr 2016 19:56:11 +0000 (15:56 -0400)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Mon, 2 May 2016 06:31:59 +0000 (12:01 +0530)
commit125aab8dc4300dc9c67b2d4ca219cfbd60ab0924
treeac274eb3d2a0027c9cf8b38f53c4b9620b93fcf6
parent5fe4beac0ed68ebf33fa69ba7a3082d2072bb9ce
librbd: propagate any image refresh errors back to caller

Previously, the saved error code was only propagated when an image
flush was required.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 105ef8a24aa6ac8719f68c5a9366129ddb41ee88)
src/librbd/image/RefreshRequest.cc
src/librbd/image/RefreshRequest.h