diff options
author | Sage Weil <sage@inktank.com> | 2012-10-29 19:01:42 +0100 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-10-30 14:21:05 +0100 |
commit | 0ed7285e0001b960c888e5455ae982025210ed3d (patch) | |
tree | 4ca3c1faa4d7bc8064d6f0fb609dd3cd568c2554 /fs/ocfs2/heartbeat.h | |
parent | rbd: kill rbd_device->rbd_opts (diff) | |
download | linux-0ed7285e0001b960c888e5455ae982025210ed3d.tar.xz linux-0ed7285e0001b960c888e5455ae982025210ed3d.zip |
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>
Diffstat (limited to 'fs/ocfs2/heartbeat.h')
0 files changed, 0 insertions, 0 deletions