summaryrefslogtreecommitdiffstats
path: root/net/ceph/debugfs.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2017-06-22 19:44:06 +0200
committerIlya Dryomov <idryomov@gmail.com>2017-07-07 17:25:19 +0200
commit0bb05da2ec57163b7a25efef001ed8f52b18b070 (patch)
treee89ca7499993711e32a6ea0bb3205ae431bc98e4 /net/ceph/debugfs.c
parent9eebe45c091e2dff22d4bd87360a624303148ed1 (diff)
downloadop-kernel-dev-0bb05da2ec57163b7a25efef001ed8f52b18b070.zip
op-kernel-dev-0bb05da2ec57163b7a25efef001ed8f52b18b070.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/debugfs.c b/net/ceph/debugfs.c
index 4f57d5bc..fa5233e 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",
OpenPOWER on IntegriCloud