From: Sage Weil Date: Thu, 3 Nov 2016 15:06:46 +0000 (-0400) Subject: os/bluestore: fix build error X-Git-Tag: v11.1.0~430 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6d6d4b3243be7e8a37c70ac0d66632a25ff8ddf8;p=ceph.git os/bluestore: fix build error Signed-off-by: Sage Weil --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index 26cd4f98c00f..78b06c3bbb3d 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -9044,6 +9044,7 @@ int BlueStore::_split_collection(TransContext *txc, << " bits " << bits << dendl; RWLock::WLocker l(c->lock); RWLock::WLocker l2(d->lock); + int r; // blow away src cache c->onode_map.clear(); @@ -9070,7 +9071,7 @@ int BlueStore::_split_collection(TransContext *txc, dout(10) << __func__ << " " << c->cid << " to " << d->cid << " " << " bits " << bits << " = " << r << dendl; - return 0; + return r; }