]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Check for fatal error when in waiting for ack state
authorDavid Howells <dhowells@redhat.com>
Thu, 6 Oct 2016 07:11:50 +0000 (08:11 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 6 Oct 2016 07:11:50 +0000 (08:11 +0100)
commit7711dd28e5c052442a9d2ff3e7a02f2bfd51e336
tree241e180d6415b158251bc06b3ac2bcb207c6c1ba
parent4fa8761dbfe558c0b7e6e86563ce57bcc427449a
afs: Check for fatal error when in waiting for ack state

When it's in the waiting-for-ACK state, the AFS filesystem needs to check
the result of rxrpc_kernel_recv_data() any time it is notified to see if it
is indicating a fatal error.  If this is the case, it needs to mark the
call completed otherwise the call just sits there and never goes away.

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