From: Igor Fedotov Date: Fri, 27 Sep 2019 10:51:54 +0000 (+0300) Subject: os/bluestore: fix invalid stray shared blob detection in fsck. X-Git-Tag: v15.1.0~1381^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3f79b1976885880a188ed0a7f5e7d40dd554dc15;p=ceph-ci.git os/bluestore: fix invalid stray shared blob detection in fsck. This is a regression, caused by https://github.com/ceph/ceph/pull/30264 Signed-off-by: Igor Fedotov --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index ee9556a4837..d48cfbda751 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -7619,7 +7619,7 @@ void BlueStore::_fsck_check_objects(FSCKDepth depth, auto used_per_pool_omap_head = ctx.used_per_pool_omap_head; auto used_pgmeta_omap_head = ctx.used_pgmeta_omap_head; auto sb_info_lock = ctx.sb_info_lock; - auto sb_info = ctx.sb_info; + auto& sb_info = ctx.sb_info; auto repairer = ctx.repairer; uint64_t_btree_t used_nids;