diff options
author | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2010-10-19 19:20:21 +0200 |
---|---|---|
committer | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2010-10-22 02:31:58 +0200 |
commit | f812f7ebe8b0875b1b9c2a8dade3c721e77e0048 (patch) | |
tree | 71f2e5c3586dd60e6d9b4cf36b4d0204782539ac /src/messages/MOSDScrub.h | |
parent | PG::build_prior: update comment (diff) | |
download | ceph-f812f7ebe8b0875b1b9c2a8dade3c721e77e0048.tar.xz ceph-f812f7ebe8b0875b1b9c2a8dade3c721e77e0048.zip |
OSDMap: const cleanup
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
Diffstat (limited to 'src/messages/MOSDScrub.h')
-rw-r--r-- | src/messages/MOSDScrub.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages/MOSDScrub.h b/src/messages/MOSDScrub.h index d3c3eafbf29..ec81e73016c 100644 --- a/src/messages/MOSDScrub.h +++ b/src/messages/MOSDScrub.h @@ -28,10 +28,10 @@ struct MOSDScrub : public Message { bool repair; MOSDScrub() {} - MOSDScrub(ceph_fsid_t& f, bool r) : + MOSDScrub(const ceph_fsid_t& f, bool r) : Message(MSG_OSD_SCRUB), fsid(f), repair(r) {} - MOSDScrub(ceph_fsid_t& f, vector<pg_t>& pgs, bool r) : + MOSDScrub(const ceph_fsid_t& f, vector<pg_t>& pgs, bool r) : Message(MSG_OSD_SCRUB), fsid(f), scrub_pgs(pgs), repair(r) {} private: |