Home
last modified time | relevance | path

Searched hist:"0 ed7285e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ceph/
H A Dosdmap.c0ed7285e Mon Oct 29 13:01:42 CDT 2012 Sage Weil <sage@inktank.com> libceph: fix osdmap decode error paths

Ensure that we set the err value correctly so that we do not pass a 0
value to ERR_PTR and confuse the calling code. (In particular,
osd_client.c handle_map() will BUG(!newmap)).

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
0ed7285e Mon Oct 29 13:01:42 CDT 2012 Sage Weil <sage@inktank.com> libceph: fix osdmap decode error paths

Ensure that we set the err value correctly so that we do not pass a 0
value to ERR_PTR and confuse the calling code. (In particular,
osd_client.c handle_map() will BUG(!newmap)).

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>