summaryrefslogtreecommitdiffstats
path: root/src/messages/MOSDScrub.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2008-12-10 20:12:44 +0100
committerSage Weil <sage@newdream.net>2008-12-10 20:12:44 +0100
commit37ea68ed9da68362fc56b8017eff795fd9c019c3 (patch)
treea83222f8a1994eb7e07ec4c782ebad8305419f10 /src/messages/MOSDScrub.h
parenttodos (diff)
downloadceph-37ea68ed9da68362fc56b8017eff795fd9c019c3.tar.xz
ceph-37ea68ed9da68362fc56b8017eff795fd9c019c3.zip
osd: fix uninit value in scrub message
Diffstat (limited to 'src/messages/MOSDScrub.h')
-rw-r--r--src/messages/MOSDScrub.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages/MOSDScrub.h b/src/messages/MOSDScrub.h
index 2d871afd3ae..353ed77e108 100644
--- a/src/messages/MOSDScrub.h
+++ b/src/messages/MOSDScrub.h
@@ -30,7 +30,7 @@ struct MOSDScrub : public Message {
MOSDScrub() {}
MOSDScrub(ceph_fsid& f) :
Message(MSG_OSD_SCRUB),
- fsid(f) {}
+ fsid(f), repair(false) {}
MOSDScrub(ceph_fsid& f, vector<pg_t>& pgs, bool r) :
Message(MSG_OSD_SCRUB),
fsid(f), scrub_pgs(pgs), repair(r) {}