]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fix pg_shard_t int -> int32_t
authorSage Weil <sage@inktank.com>
Thu, 26 Jun 2014 16:13:30 +0000 (09:13 -0700)
committerSage Weil <sage@inktank.com>
Thu, 26 Jun 2014 16:13:30 +0000 (09:13 -0700)
Still 4 bytes on i386 and x86_64.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/osd_types.h

index 010b194cbc39dc10476d773f828a14069739e9ec..08cac9cafcbda2cdb3d899fedeebf6483d987127 100644 (file)
@@ -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) {}