From: Sage Weil Date: Fri, 28 Dec 2012 02:27:04 +0000 (-0600) Subject: libceph: fix protocol feature mismatch failure path X-Git-Tag: v3.8-rc2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fa6ebc600bc8e830551aee47a0e929e818a1868;p=pandora-kernel.git libceph: fix protocol feature mismatch failure path We should not set con->state to CLOSED here; that happens in ceph_fault() in the caller, where it first asserts that the state is not yet CLOSED. Avoids a BUG when the features don't match. Since the fail_protocol() has become a trivial wrapper, replace calls to it with direct calls to reset_connection(). Signed-off-by: Sage Weil Reviewed-by: Alex Elder --- Reading git-diff-tree failed