diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-07-22 22:08:57 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-07-30 02:16:57 +0200 |
commit | 24c7fb85498eda1d4c6b42cc4886328429814990 (patch) | |
tree | 9518a29e83b625888ea71d42250ff09b22e3127c /fs/nfsd/xdr4.h | |
parent | NFSD: Clean up SPLICE_OK in nfsd4_encode_read() (diff) | |
download | linux-24c7fb85498eda1d4c6b42cc4886328429814990.tar.xz linux-24c7fb85498eda1d4c6b42cc4886328429814990.zip |
NFSD: Add an nfsd4_read::rd_eof field
Refactor: Make the EOF result available in the entire NFSv4 READ
path.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r-- | fs/nfsd/xdr4.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index 7b744011f2d3..6e6a89008ce1 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -302,9 +302,10 @@ struct nfsd4_read { u32 rd_length; /* request */ int rd_vlen; struct nfsd_file *rd_nf; - + struct svc_rqst *rd_rqstp; /* response */ - struct svc_fh *rd_fhp; /* response */ + struct svc_fh *rd_fhp; /* response */ + u32 rd_eof; /* response */ }; struct nfsd4_readdir { |