diff options
author | David Howells <dhowells@redhat.com> | 2023-10-06 18:27:41 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2024-05-01 20:08:18 +0300 |
commit | a975a2f22cdce7ec0c678ce8d73d2f6616cb281c (patch) | |
tree | 3b02ac92f4d23f207405fc4870ec46576811e116 /fs/smb/client/smb2proto.h | |
parent | 753b67eb630db34e36ec4ae1e86c75e243ea4fc9 (diff) | |
download | linux-a975a2f22cdce7ec0c678ce8d73d2f6616cb281c.tar.xz |
cifs: Replace cifs_writedata with a wrapper around netfs_io_subrequest
Replace the cifs_writedata struct with the same wrapper around
netfs_io_subrequest that was used to replace cifs_readdata.
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
Diffstat (limited to 'fs/smb/client/smb2proto.h')
-rw-r--r-- | fs/smb/client/smb2proto.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/smb/client/smb2proto.h b/fs/smb/client/smb2proto.h index 740053c0118e..c781eaa0cba8 100644 --- a/fs/smb/client/smb2proto.h +++ b/fs/smb/client/smb2proto.h @@ -213,8 +213,7 @@ extern int SMB2_get_srv_num(const unsigned int xid, struct cifs_tcon *tcon, extern int smb2_async_readv(struct cifs_io_subrequest *rdata); extern int SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms, unsigned int *nbytes, char **buf, int *buf_type); -extern int smb2_async_writev(struct cifs_writedata *wdata, - void (*release)(struct kref *kref)); +extern int smb2_async_writev(struct cifs_io_subrequest *wdata); extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms, unsigned int *nbytes, struct kvec *iov, int n_vec); extern int SMB2_echo(struct TCP_Server_Info *server); |