summaryrefslogtreecommitdiff
path: root/fs/nfsd/xdr3.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-11-17 09:50:23 -0500
committerChuck Lever <chuck.lever@oracle.com>2021-01-25 09:36:24 -0500
commit40116ebd0934cca7e46423bdb3397d3d27eb9fb9 (patch)
treeaad59ba70746573f19f57a8373d5a241b03e7a0a /fs/nfsd/xdr3.h
parent0a8f37fb34a96267c656f7254e69bb9a2fc89fe4 (diff)
NFSD: Add helper to set up the pages where the dirlist is encoded
De-duplicate some code that is used by both READDIR and READDIRPLUS to build the dirlist in the Reply. Because this code is not related to decoding READ arguments, it is moved to a more appropriate spot. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/xdr3.h')
-rw-r--r--fs/nfsd/xdr3.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/xdr3.h b/fs/nfsd/xdr3.h
index 08f909142ddf..789a364d5e69 100644
--- a/fs/nfsd/xdr3.h
+++ b/fs/nfsd/xdr3.h
@@ -93,7 +93,6 @@ struct nfsd3_readdirargs {
__u32 dircount;
__u32 count;
__be32 * verf;
- __be32 * buffer;
};
struct nfsd3_commitargs {