summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorDavid Howells2018-10-20 01:57:57 +0200
committerGreg Kroah-Hartman2018-11-27 16:13:00 +0100
commit464ac699fcbfde1f99826c208de90070cd7ce68e (patch)
treef433ef306f3b64aa5769a48882b7089f5a0744a5 /drivers/platform
parentdrm/edid: Add 6 bpc quirk for BOE panel. (diff)
downloadkernel-qcow2-linux-464ac699fcbfde1f99826c208de90070cd7ce68e.tar.gz
kernel-qcow2-linux-464ac699fcbfde1f99826c208de90070cd7ce68e.tar.xz
kernel-qcow2-linux-464ac699fcbfde1f99826c208de90070cd7ce68e.zip
afs: Handle EIO from delivery function
[ Upstream commit 4ac15ea53622272c01954461b4814892b7481b40 ] Fix afs_deliver_to_call() to handle -EIO being returned by the operation delivery function, indicating that the call found itself in the wrong state, by printing an error and aborting the call. Currently, an assertion failure will occur. This can happen, say, if the delivery function falls off the end without calling afs_extract_data() with the want_more parameter set to false to collect the end of the Rx phase of a call. The assertion failure looks like: AFS: Assertion failed 4 == 7 is false 0x4 == 0x7 is false ------------[ cut here ]------------ kernel BUG at fs/afs/rxrpc.c:462! and is matched in the trace buffer by a line like: kworker/7:3-3226 [007] ...1 85158.030203: afs_io_error: c=0003be0c r=-5 CM_REPLY Fixes: 98bf40cd99fc ("afs: Protect call->state changes against signals") Reported-by: Marc Dionne <marc.dionne@auristor.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions