diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2025-04-28 15:37:00 -0400 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2025-05-15 16:16:28 -0400 |
| commit | cdc29154d327534c50d65e1a9ad7023a03b21034 (patch) | |
| tree | 727f5012f69e70cfe47664dbc876c24208046c34 /fs/nfsd/nfsd.h | |
| parent | NFSD: Remove NFSD_BUFSIZE (diff) | |
| download | linux-cdc29154d327534c50d65e1a9ad7023a03b21034.tar.gz linux-cdc29154d327534c50d65e1a9ad7023a03b21034.zip | |
NFSD: Remove NFSSVC_MAXBLKSIZE_V2 macro
The 8192-byte maximum is a protocol-defined limit, and we already
have a symbolic constant defined whose name matches the name of
the limit defined in the protocol. Replace the duplicate.
No change in behavior is expected.
Reviewed-by: NeilBrown <neil@brown.name>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfsd.h')
| -rw-r--r-- | fs/nfsd/nfsd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h index b9ac81023c13..6428a431d765 100644 --- a/fs/nfsd/nfsd.h +++ b/fs/nfsd/nfsd.h @@ -47,8 +47,6 @@ bool nfsd_support_version(int vers); * Maximum blocksizes supported by daemon under various circumstances. */ #define NFSSVC_MAXBLKSIZE RPCSVC_MAXPAYLOAD -/* NFSv2 is limited by the protocol specification, see RFC 1094 */ -#define NFSSVC_MAXBLKSIZE_V2 (8*1024) struct readdir_cd { __be32 err; /* 0, nfserr, or nfserr_eof */ |
