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)
commit70af0e3bd65142f9e674961c975451638a7ce1d5
treeaf1e754d22e0ec263f0a8e1f449d2dfa427deb65
parent1157f153f37a8586765034470e4f00a4a6c4ce6f
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