From: Danny Al-Gaaf Date: Thu, 1 May 2014 22:35:02 +0000 (+0200) Subject: PG::read_info(): pass 'const coll_t coll' by reference X-Git-Tag: v0.81~76^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=296b8ed0af3839deeef50ba8405c640a5339b3bc;p=ceph.git PG::read_info(): pass 'const coll_t coll' by reference Signed-off-by: Danny Al-Gaaf --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 6deb0998b296..ac50bb1ae012 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -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 &past_intervals, hobject_t &biginfo_oid, hobject_t &infos_oid, interval_set &snap_collections, __u8 &struct_v) diff --git a/src/osd/PG.h b/src/osd/PG.h index 64ab8856ac15..6727ebd1837a 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -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 &past_intervals, hobject_t &biginfo_oid, hobject_t &infos_oid, interval_set &snap_collections, __u8 &);