diff options
Diffstat (limited to 'fs/ceph/mon_client.c')
-rw-r--r-- | fs/ceph/mon_client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/mon_client.c b/fs/ceph/mon_client.c index 61263c99c6a8..95b76e761e18 100644 --- a/fs/ceph/mon_client.c +++ b/fs/ceph/mon_client.c | |||
@@ -59,6 +59,8 @@ struct ceph_monmap *ceph_monmap_decode(void *p, void *end) | |||
59 | m->epoch = epoch; | 59 | m->epoch = epoch; |
60 | m->num_mon = num_mon; | 60 | m->num_mon = num_mon; |
61 | ceph_decode_copy(&p, m->mon_inst, num_mon*sizeof(m->mon_inst[0])); | 61 | ceph_decode_copy(&p, m->mon_inst, num_mon*sizeof(m->mon_inst[0])); |
62 | for (i = 0; i < num_mon; i++) | ||
63 | ceph_decode_addr(&m->mon_inst[i].addr); | ||
62 | 64 | ||
63 | dout("monmap_decode epoch %d, num_mon %d\n", m->epoch, | 65 | dout("monmap_decode epoch %d, num_mon %d\n", m->epoch, |
64 | m->num_mon); | 66 | m->num_mon); |