]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG.c: use boolean to init `bool` variables 3673/head
authorKefu Chai <kchai@redhat.com>
Tue, 10 Feb 2015 02:32:47 +0000 (10:32 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 10 Feb 2015 02:47:24 +0000 (10:47 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/PG.cc

index a3a29c5fd7020715631495beb0e2ede33c3a90d0..69b65ec98c12001d108c3c62e0c162d0e8babfef 100644 (file)
@@ -204,8 +204,8 @@ PG::PG(OSDService *o, OSDMapRef curmap,
   need_up_thru(false),
   last_peering_reset(0),
   heartbeat_peer_lock("PG::heartbeat_peer_lock"),
-  backfill_reserved(0),
-  backfill_reserving(0),
+  backfill_reserved(false),
+  backfill_reserving(false),
   flushes_in_progress(0),
   pg_stats_publish_lock("PG::pg_stats_publish_lock"),
   pg_stats_publish_valid(false),