]> 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)
commit6145e664ddf5afca10b0b6fbaf35477a335f7ed8
treeaf1e754d22e0ec263f0a8e1f449d2dfa427deb65
parentc260fb6fc95e9f32f866c53087563ed561c8332c
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