mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
PG::read_info(): pass 'const coll_t coll' by reference
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
8fad144c4d
commit
296b8ed0af
@ -2693,7 +2693,7 @@ std::string PG::get_corrupt_pg_log_name() const
|
||||
}
|
||||
|
||||
int PG::read_info(
|
||||
ObjectStore *store, const coll_t coll, bufferlist &bl,
|
||||
ObjectStore *store, const coll_t &coll, bufferlist &bl,
|
||||
pg_info_t &info, map<epoch_t,pg_interval_t> &past_intervals,
|
||||
hobject_t &biginfo_oid, hobject_t &infos_oid,
|
||||
interval_set<snapid_t> &snap_collections, __u8 &struct_v)
|
||||
|
@ -1996,7 +1996,7 @@ public:
|
||||
|
||||
std::string get_corrupt_pg_log_name() const;
|
||||
static int read_info(
|
||||
ObjectStore *store, const coll_t coll,
|
||||
ObjectStore *store, const coll_t &coll,
|
||||
bufferlist &bl, pg_info_t &info, map<epoch_t,pg_interval_t> &past_intervals,
|
||||
hobject_t &biginfo_oid, hobject_t &infos_oid,
|
||||
interval_set<snapid_t> &snap_collections, __u8 &);
|
||||
|
Loading…
Reference in New Issue
Block a user