diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2017-06-22 19:44:06 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-07-07 17:25:19 +0200 |
commit | 0bb05da2ec57163b7a25efef001ed8f52b18b070 (patch) | |
tree | e89ca7499993711e32a6ea0bb3205ae431bc98e4 /net/ceph/debugfs.c | |
parent | 9eebe45c091e2dff22d4bd87360a624303148ed1 (diff) | |
download | linux-0bb05da2ec57163b7a25efef001ed8f52b18b070.tar.gz linux-0bb05da2ec57163b7a25efef001ed8f52b18b070.tar.bz2 linux-0bb05da2ec57163b7a25efef001ed8f52b18b070.zip |
libceph: osd_state is 32 bits wide in luminous
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph/debugfs.c')
-rw-r--r-- | net/ceph/debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/debugfs.c b/net/ceph/debugfs.c index 4f57d5bcaba2..fa5233e0d01c 100644 --- a/net/ceph/debugfs.c +++ b/net/ceph/debugfs.c @@ -77,7 +77,7 @@ static int osdmap_show(struct seq_file *s, void *p) } for (i = 0; i < map->max_osd; i++) { struct ceph_entity_addr *addr = &map->osd_addr[i]; - int state = map->osd_state[i]; + u32 state = map->osd_state[i]; char sb[64]; seq_printf(s, "osd%d\t%s\t%3d%%\t(%s)\t%3d%%\n", |