File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -445,10 +445,11 @@ Device::access_ertr::future<> SeaStore::_mkfs(uuid_d new_osd_fsid)
445445 // hmm?
446446 auto lister = rdir.experimental_list_directory ();
447447 while (auto de = co_await lister ()) {
448- DEBUG (" found file: {}" , de->name );
449- if (de->name .find (" block." ) == 0 && de->name .length () > 6 ) {
448+ auto & entry = de->get ();
449+ DEBUG (" found file: {}" , entry.name );
450+ if (entry.name .find (" block." ) == 0 && entry.name .length () > 6 ) {
450451 // 6 for "block."
451- std::string entry_name = de-> name ;
452+ std::string entry_name = entry. name ;
452453 auto dtype_end = entry_name.find_first_of (' .' , 6 );
453454 device_type_t dtype =
454455 string_to_device_type (
Original file line number Diff line number Diff line change 44#pragma once
55
66#include " include/ceph_features.h"
7+ #include < map>
78
89namespace ceph ::net {
910
You can’t perform that action at this time.
0 commit comments