commit | 0ed7285e0001b960c888e5455ae982025210ed3d | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@inktank.com> | Mon Oct 29 11:01:42 2012 -0700 |
committer | Alex Elder <elder@inktank.com> | Tue Oct 30 08:21:05 2012 -0500 |
tree | 4ca3c1faa4d7bc8064d6f0fb609dd3cd568c2554 | |
parent | 069a4b5690a952e74157fd489833c71c73f012b3 [diff] |
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>