diff options
author | David Howells <dhowells@redhat.com> | 2018-05-11 23:45:40 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-05-14 15:15:18 +0100 |
commit | a86b06d1ccd218a6a50d6a3a88fbd2abcd0eaa94 (patch) | |
tree | a295d0ab6cb82624fc319e86dea9b28da4691edf /fs/afs/rxrpc.c | |
parent | 3709a399c15e4273d9a94b123374f12e5664318c (diff) | |
download | linux-a86b06d1ccd218a6a50d6a3a88fbd2abcd0eaa94.tar.gz linux-a86b06d1ccd218a6a50d6a3a88fbd2abcd0eaa94.tar.bz2 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 'fs/afs/rxrpc.c')
-rw-r--r-- | fs/afs/rxrpc.c | 5 |
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, |