]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Better abort and net error handling
authorDavid Howells <dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:47 +0000 (16:27 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:47 +0000 (16:27 +0000)
commit7a1ad60095728696172d83a7eaa7bf90e25ee25e
treeaf1e754d22e0ec263f0a8e1f449d2dfa427deb65
parent91b0e7bb9b099d13025a880ce33fd053c6102523
afs: Better abort and net error handling

If we receive a network error, a remote abort or a protocol error whilst
we're still transmitting data, make sure we return an appropriate error to
the caller rather than ESHUTDOWN or ECONNABORTED.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/rxrpc.c