From: Samuel Just Date: Thu, 28 Mar 2013 21:01:45 +0000 (-0700) Subject: PG: use int64_t for pool id in PGPool X-Git-Tag: v0.60~5^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1993c2a270df350e2142d93612896c7140dc7dff;p=ceph.git PG: use int64_t for pool id in PGPool Signed-off-by: Samuel Just --- diff --git a/src/osd/PG.h b/src/osd/PG.h index 658eb2d0ac93..95f71ae77443 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -116,7 +116,7 @@ struct PGRecoveryStats { }; struct PGPool { - int id; + int64_t id; string name; uint64_t auid; @@ -126,7 +126,7 @@ struct PGPool { interval_set cached_removed_snaps; // current removed_snaps set interval_set newly_removed_snaps; // newly removed in the last epoch - PGPool(int i, const char *_name, uint64_t au) : + PGPool(int64_t i, const char *_name, uint64_t au) : id(i), auid(au) { if (_name) name = _name;