https://github.com/torvalds/linux
Revision 0fa6ebc600bc8e830551aee47a0e929e818a1868 authored by Sage Weil on 28 December 2012, 02:27:04 UTC, committed by Alex Elder on 28 December 2012, 02:27:04 UTC
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 <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
1 parent 122070a
History
Tip revision: 0fa6ebc600bc8e830551aee47a0e929e818a1868 authored by Sage Weil on 28 December 2012, 02:27:04 UTC
libceph: fix protocol feature mismatch failure path
Tip revision: 0fa6ebc
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 210.9 KB
Makefile -rw-r--r-- 46.1 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top