From: Sage Weil Date: Thu, 26 Jun 2014 16:13:30 +0000 (-0700) Subject: osd: fix pg_shard_t int -> int32_t X-Git-Tag: v0.83~35^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=238b1a3fa4d0c6be5a61acf83f7ce9dcd3a7f084;p=ceph.git osd: fix pg_shard_t int -> int32_t Still 4 bytes on i386 and x86_64. Signed-off-by: Sage Weil --- diff --git a/src/osd/osd_types.h b/src/osd/osd_types.h index 010b194cbc39d..08cac9cafcbda 100644 --- a/src/osd/osd_types.h +++ b/src/osd/osd_types.h @@ -69,7 +69,7 @@ const char *ceph_osd_flag_name(unsigned flag); string ceph_osd_flag_string(unsigned flags); struct pg_shard_t { - int osd; + int32_t osd; shard_id_t shard; pg_shard_t() : osd(-1), shard(shard_id_t::NO_SHARD) {} explicit pg_shard_t(int osd) : osd(osd), shard(shard_id_t::NO_SHARD) {}