ceph: fix error paths for corrupt osdmap messages
authorSage Weil <sage@newdream.net>
Mon, 21 Dec 2009 22:49:37 +0000 (14:49 -0800)
committerSage Weil <sage@newdream.net>
Tue, 22 Dec 2009 00:39:59 +0000 (16:39 -0800)
commit30dc6381bbac213987be6fe0b0fb89868ff1f2c0
treef647d1826a3f8cf07a510cad49c9f400359a9ae4
parent5de7bf8afa87f75af5ef3d6f9fce3e171cac834c
ceph: fix error paths for corrupt osdmap messages

Both osdmap_decode() and osdmap_apply_incremental() should never return
NULL.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/osd_client.c
fs/ceph/osdmap.c