]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: missing return statement within do_metadata_remove 5873/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 10 Sep 2015 16:21:57 +0000 (12:21 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 10 Sep 2015 16:21:57 +0000 (12:21 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/rbd.cc

index ee26fae59ae127fbdc4dc8208f7969ca66bf0d8e..64094e3c39a4724b630e6ca73dc9f993bfe801b3 100755 (executable)
@@ -2321,6 +2321,7 @@ static int do_metadata_remove(librbd::Image& image, const char *key)
   if (r < 0) {
     cerr << "failed to remove metadata " << key << " of image : " << cpp_strerror(r) << std::endl;
   }
+  return r;
 }
 
 static int do_metadata_get(librbd::Image& image, const char *key)