diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-09-25 15:27:51 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-10-16 18:44:28 +0200 |
commit | 73debe47df8e7535e3ca86a050cfd988133fea77 (patch) | |
tree | b8f90b651415410caa0e9d17035a1261c807ebb8 /fs/nfsd/flexfilelayoutxdr.h | |
parent | NFSD: Clean up nfsd4_encode_stateid() (diff) | |
download | linux-73debe47df8e7535e3ca86a050cfd988133fea77.tar.xz linux-73debe47df8e7535e3ca86a050cfd988133fea77.zip |
NFSD: Make @lgp parameter of ->encode_layoutget a const pointer
This enables callers to be passed const pointer parameters.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/flexfilelayoutxdr.h')
-rw-r--r-- | fs/nfsd/flexfilelayoutxdr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/flexfilelayoutxdr.h b/fs/nfsd/flexfilelayoutxdr.h index 8e195aeca023..a447efb7759b 100644 --- a/fs/nfsd/flexfilelayoutxdr.h +++ b/fs/nfsd/flexfilelayoutxdr.h @@ -45,6 +45,6 @@ struct pnfs_ff_layout { __be32 nfsd4_ff_encode_getdeviceinfo(struct xdr_stream *xdr, struct nfsd4_getdeviceinfo *gdp); __be32 nfsd4_ff_encode_layoutget(struct xdr_stream *xdr, - struct nfsd4_layoutget *lgp); + const struct nfsd4_layoutget *lgp); #endif /* _NFSD_FLEXFILELAYOUTXDR_H */ |