diff options
author | Sage Weil <sage@inktank.com> | 2012-10-29 11:01:42 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 08:46:48 -0800 |
commit | 1c76436d1b962c8d53871d9d13c6a01094d15b95 (patch) | |
tree | ca08e5b8498c565ef2ef26268bd840d010ddc63f /lib/pm-notifier-error-inject.c | |
parent | 39cebb4027204a30ba2f65befbeff1ff569d3968 (diff) |
libceph: fix osdmap decode error paths
(cherry picked from commit 0ed7285e0001b960c888e5455ae982025210ed3d)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions