summaryrefslogtreecommitdiffstats
path: root/fs/smb/client/cifsglob.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2024-08-21 15:59:12 +0200
committerSteve French <stfrench@microsoft.com>2024-08-25 16:06:25 +0200
commitb608e2c318789aeba49055747166e13bee57df4a (patch)
tree06ea32e3adfd99cc28e241534afc6e1ca6064040 /fs/smb/client/cifsglob.h
parentsmb/client: avoid dereferencing rdata=NULL in smb2_new_read_req() (diff)
downloadlinux-b608e2c318789aeba49055747166e13bee57df4a.tar.xz
linux-b608e2c318789aeba49055747166e13bee57df4a.zip
smb/client: remove unused rq_iter_size from struct smb_rqst
Reviewed-by: David Howells <dhowells@redhat.com> Fixes: d08089f649a0 ("cifs: Change the I/O paths to use an iterator rather than a page list") Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/cifsglob.h')
-rw-r--r--fs/smb/client/cifsglob.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/smb/client/cifsglob.h b/fs/smb/client/cifsglob.h
index 7ebe80a25d04..f379b9dc93ba 100644
--- a/fs/smb/client/cifsglob.h
+++ b/fs/smb/client/cifsglob.h
@@ -254,7 +254,6 @@ struct cifs_open_info_data {
struct smb_rqst {
struct kvec *rq_iov; /* array of kvecs */
unsigned int rq_nvec; /* number of kvecs in array */
- size_t rq_iter_size; /* Amount of data in ->rq_iter */
struct iov_iter rq_iter; /* Data iterator */
struct xarray rq_buffer; /* Page buffer for encryption */
};