From: xie xingguo Date: Tue, 15 Nov 2016 00:32:25 +0000 (+0800) Subject: os/bluestore: formatting nits X-Git-Tag: v11.1.0~288^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8ae9ecfd355d52529bb2d565d7b996f2db114dbd;p=ceph.git os/bluestore: formatting nits Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index 2d065e0334b..4cfe67ba03a 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -4376,7 +4376,6 @@ int BlueStore::fsck(bool deep) list expecting_shards; for (it->lower_bound(string()); it->valid(); it->next()) { dout(30) << " key " << pretty_binary_string(it->key()) << dendl; - ghobject_t oid; if (is_extent_shard_key(it->key())) { while (!expecting_shards.empty() && expecting_shards.front() < it->key()) { @@ -4397,7 +4396,7 @@ int BlueStore::fsck(bool deep) string okey; get_key_extent_shard(it->key(), &okey, &offset); derr << __func__ << " stray shard 0x" << std::hex << offset << std::dec - << dendl; + << dendl; if (expecting_shards.empty()) { derr << __func__ << pretty_binary_string(it->key()) << " is unexpected" << dendl; @@ -4417,6 +4416,8 @@ int BlueStore::fsck(bool deep) } continue; } + + ghobject_t oid; int r = get_key_object(it->key(), &oid); if (r < 0) { derr << __func__ << " bad object key "