We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf78b9d commit 1b5ca67Copy full SHA for 1b5ca67
src/crimson/os/seastore/seastore.cc
@@ -253,7 +253,7 @@ SeaStore::mount_ertr::future<> SeaStore::mount()
253
ceph_assert(seastar::this_shard_id() == primary_core);
254
return device->mount(
255
).safe_then([this] {
256
- auto sec_devices = device->get_sharded_device().get_secondary_devices();
+ auto &sec_devices = device->get_sharded_device().get_secondary_devices();
257
return crimson::do_for_each(sec_devices, [this](auto& device_entry) {
258
device_id_t id = device_entry.first;
259
magic_t magic = device_entry.second.magic;
0 commit comments