cifs: Replace cifs_readdata with a wrapper around netfs_io_subrequest
Netfslib has a facility whereby the allocation for netfs_io_subrequest can
be increased to so that filesystem-specific data can be tagged on the end.
Prepare to use this by making a struct, cifs_io_subrequest, that wraps
netfs_io_subrequest, and absorb struct cifs_readdata into it.
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: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
Showing
- fs/smb/client/cifsglob.h 12 additions, 10 deletionsfs/smb/client/cifsglob.h
- fs/smb/client/cifsproto.h 11 additions, 2 deletionsfs/smb/client/cifsproto.h
- fs/smb/client/cifssmb.c 4 additions, 7 deletionsfs/smb/client/cifssmb.c
- fs/smb/client/file.c 20 additions, 24 deletionsfs/smb/client/file.c
- fs/smb/client/smb2ops.c 1 addition, 1 deletionfs/smb/client/smb2ops.c
- fs/smb/client/smb2pdu.c 7 additions, 5 deletionsfs/smb/client/smb2pdu.c
- fs/smb/client/smb2proto.h 1 addition, 1 deletionfs/smb/client/smb2proto.h
- fs/smb/client/transport.c 2 additions, 2 deletionsfs/smb/client/transport.c
Loading
Please register or sign in to comment