diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2023-09-25 09:27:51 -0400 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2023-10-16 12:44:28 -0400 |
| commit | 73debe47df8e7535e3ca86a050cfd988133fea77 (patch) | |
| tree | b8f90b651415410caa0e9d17035a1261c807ebb8 /fs/nfsd/blocklayoutxdr.h | |
| parent | 40bb2baaa8edecfc21a3c176e4af1a3445157677 (diff) | |
| download | linux-73debe47df8e7535e3ca86a050cfd988133fea77.tar.gz linux-73debe47df8e7535e3ca86a050cfd988133fea77.tar.bz2 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/blocklayoutxdr.h')
| -rw-r--r-- | fs/nfsd/blocklayoutxdr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/blocklayoutxdr.h b/fs/nfsd/blocklayoutxdr.h index bc5166bfe46b..5f88539e81a1 100644 --- a/fs/nfsd/blocklayoutxdr.h +++ b/fs/nfsd/blocklayoutxdr.h @@ -53,7 +53,7 @@ struct pnfs_block_deviceaddr { __be32 nfsd4_block_encode_getdeviceinfo(struct xdr_stream *xdr, struct nfsd4_getdeviceinfo *gdp); __be32 nfsd4_block_encode_layoutget(struct xdr_stream *xdr, - struct nfsd4_layoutget *lgp); + const struct nfsd4_layoutget *lgp); int nfsd4_block_decode_layoutupdate(__be32 *p, u32 len, struct iomap **iomapp, u32 block_size); int nfsd4_scsi_decode_layoutupdate(__be32 *p, u32 len, struct iomap **iomapp, |
