rxrpc: Split out the call state changing functions into their own file
authorDavid Howells <dhowells@redhat.com>
Wed, 26 Oct 2022 23:16:55 +0000 (00:16 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 6 Jan 2023 09:43:32 +0000 (09:43 +0000)
commit0b9bb322f13d486d5b8630264ccbfb4794bb43a9
tree603dfe0fbf2bd048d2f877867919ab60bf351ff3
parent1bab27af6b88b5c811f99de4812b5590f20d1cb7
rxrpc: Split out the call state changing functions into their own file

Split out the functions that change the state of an rxrpc call into their
own file.  The idea being to remove anything to do with changing the state
of a call directly from the rxrpc sendmsg() and recvmsg() paths and have
all that done in the I/O thread only, with the ultimate aim of removing the
state lock entirely.  Moving the code out of sendmsg.c and recvmsg.c makes
that easier to manage.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
net/rxrpc/Makefile
net/rxrpc/ar-internal.h
net/rxrpc/call_state.c [new file with mode: 0644]
net/rxrpc/recvmsg.c