]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: return 0 on success in open_pools
authorJosh Durgin <josh.durgin@dreamhost.com>
Wed, 26 Jan 2011 22:53:58 +0000 (14:53 -0800)
committerYehuda Sadeh <yehuda.sadeh@dreamhost.com>
Mon, 7 Feb 2011 22:41:57 +0000 (14:41 -0800)
src/librbd.cc

index 3e436ee9288240ed1f86234e86200d4ce10cd459..456c04b9c09efc12f2c4ae250be3543e059215a2 100644 (file)
@@ -827,6 +827,7 @@ int librbd::RBDClient::open_pools(const char *pool_name, PoolCtx *ctx)
     return -1;
   }
   ctx->data = pool;
+  return 0;
 }
 
 int librbd::RBD::initialize(int argc, const char *argv[])