summaryrefslogtreecommitdiffstats
path: root/fs/afs/rxrpc.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-05-12 00:45:40 +0200
committerDavid Howells <dhowells@redhat.com>2018-05-14 16:15:18 +0200
commita86b06d1ccd218a6a50d6a3a88fbd2abcd0eaa94 (patch)
treea295d0ab6cb82624fc319e86dea9b28da4691edf /fs/afs/rxrpc.c
parentafs: Add a tracepoint to record callbacks from unlisted servers (diff)
downloadlinux-a86b06d1ccd218a6a50d6a3a88fbd2abcd0eaa94.tar.xz
linux-a86b06d1ccd218a6a50d6a3a88fbd2abcd0eaa94.zip
afs: Fix the handling of an unfound server in CM operations
If the client cache manager operations that need the server record (CB.Callback, CB.InitCallBackState, and CB.InitCallBackState3) can't find the server record, they abort the call from the file server with RX_CALL_DEAD when they should return okay. Fixes: c35eccb1f614 ("[AFS]: Implement the CB.InitCallBackState3 operation.") Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/afs/rxrpc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/afs/rxrpc.c b/fs/afs/rxrpc.c
index 1f6235a6e9ae..d0eee5d32c94 100644
--- a/fs/afs/rxrpc.c
+++ b/fs/afs/rxrpc.c
@@ -497,11 +497,6 @@ static void afs_deliver_to_call(struct afs_call *call)
case -ECONNABORTED:
ASSERTCMP(state, ==, AFS_CALL_COMPLETE);
goto done;
- case -ENOTCONN:
- abort_code = RX_CALL_DEAD;
- rxrpc_kernel_abort_call(call->net->socket, call->rxcall,
- abort_code, ret, "KNC");
- goto local_abort;
case -ENOTSUPP:
abort_code = RXGEN_OPCODE;
rxrpc_kernel_abort_call(call->net->socket, call->rxcall,