summaryrefslogtreecommitdiffstats
path: root/fs/ceph/file.c
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-12-28 03:27:04 +0100
committerAlex Elder <elder@inktank.com>2012-12-28 03:27:04 +0100
commit0fa6ebc600bc8e830551aee47a0e929e818a1868 (patch)
treee9768481dfd72099c1615a357c4e2f489d596d68 /fs/ceph/file.c
parentlibceph: WARN, don't BUG on unexpected connection states (diff)
downloadlinux-0fa6ebc600bc8e830551aee47a0e929e818a1868.tar.xz
linux-0fa6ebc600bc8e830551aee47a0e929e818a1868.zip
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 <sage@inktank.com> Reviewed-by: Alex Elder <elder@inktank.com>
Diffstat (limited to 'fs/ceph/file.c')
0 files changed, 0 insertions, 0 deletions