summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2023-11-17 06:25:14 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2024-01-04 10:47:56 -0500
commit1fd5394e6ab8b11465a5d0867f188fad1835a762 (patch)
treeef57a4af8452220b46300acf54c8d9fcb493fd4b /fs/nfs/internal.h
parent8a6291bf3b0eae1bf26621e6419a91682f2d6227 (diff)
downloadlinux-stable-1fd5394e6ab8b11465a5d0867f188fad1835a762.tar.gz
linux-stable-1fd5394e6ab8b11465a5d0867f188fad1835a762.tar.bz2
linux-stable-1fd5394e6ab8b11465a5d0867f188fad1835a762.zip
NFS: drop unused nfs_direct_req bytes_left
Now that we're calculating how large a remaining IO should be based on the current request's offset, we no longer need to track bytes_left on each struct nfs_direct_req. Drop the field, and clean up the direct request tracepoints. Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index b1fa81c9dff6..e3722ce6722e 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -936,7 +936,6 @@ struct nfs_direct_req {
loff_t io_start; /* Start offset for I/O */
ssize_t count, /* bytes actually processed */
max_count, /* max expected count */
- bytes_left, /* bytes left to be sent */
error; /* any reported error */
struct completion completion; /* wait for i/o completion */