From: Ilya Dryomov Date: Mon, 23 Mar 2015 11:52:40 +0000 (+0300) Subject: libceph: don't overwrite specific con error msgs X-Git-Tag: omap-for-v4.2/o2_dc~39^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67c64eb742a49d3d3f5dcef75d0c32a3394e5519;p=pandora-kernel.git libceph: don't overwrite specific con error msgs - specific con->error_msg messages (e.g. "protocol version mismatch") end up getting overwritten by a catch-all "socket error on read / write", introduced in commit 3a140a0d5c4b ("libceph: report socket read/write error message") - "bad message sequence # for incoming message" loses to "bad crc" due to the fact that -EBADMSG is used for both Fix it, and tidy up con->error_msg assignments and pr_errs while at it. Signed-off-by: Ilya Dryomov --- Reading git-diff-tree failed