diff options
| author | 2009-10-12 10:28:13 -0700 | |
|---|---|---|
| committer | 2009-10-12 10:29:24 -0700 | |
| commit | 8fc57da4d32767cc6096ecaed24636dabefd1dbc (patch) | |
| tree | d69f095c5fb1ba62bf6d6b99c877b6c6c6a3db33 /fs | |
| parent | ceph: add file layout validation (diff) | |
ceph: ignore trailing data in monamp
This lets us extend the format more easily.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/ceph/mon_client.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ceph/mon_client.c b/fs/ceph/mon_client.c index dc698caccc42..d6c8e783467e 100644 --- a/fs/ceph/mon_client.c +++ b/fs/ceph/mon_client.c @@ -60,9 +60,6 @@ struct ceph_monmap *ceph_monmap_decode(void *p, void *end) m->num_mon = num_mon; ceph_decode_copy(&p, m->mon_inst, num_mon*sizeof(m->mon_inst[0])); - if (p != end) - goto bad; - dout("monmap_decode epoch %d, num_mon %d\n", m->epoch, m->num_mon); for (i = 0; i < m->num_mon; i++) |
