netfs: Rearrange netfs_io_subrequest to put request pointer first
authorDavid Howells <dhowells@redhat.com>
Fri, 13 Oct 2023 11:26:31 +0000 (12:26 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 4 Jan 2024 13:15:31 +0000 (13:15 +0000)
commit040a82be54c09a72162a3db2f5cd2ba289c0f224
treedc23cb6178e08b6ed5f3dab2a2033b5939418adf
parent252cf7b2eaf7cb904580ffbb0126d23411bcb43d
netfs: Rearrange netfs_io_subrequest to put request pointer first

Rearrange the netfs_io_subrequest struct to put the netfs_io_request
pointer (rreq) first.  This then allows netfs_io_subrequest to be put in a
union with a pointer to a wrapper around netfs_io_request.  This will be
useful in the future for cifs and maybe ceph.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Steve French <sfrench@samba.org>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: linux-cachefs@redhat.com
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
include/linux/netfs.h