From: Sage Weil Date: Mon, 29 Oct 2012 18:01:42 +0000 (-0700) Subject: libceph: fix osdmap decode error paths X-Git-Tag: v3.8-rc1~21^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ed7285e0001b960c888e5455ae982025210ed3d;p=pandora-kernel.git 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 Reviewed-by: Alex Elder --- Reading git-diff-tree failed