Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7697f6f authored by Chuck Lever's avatar Chuck Lever Committed by Trond Myklebust
Browse files

NFS: Clean up: revert increase in READDIR RPC buffer max size



Security labels go with each directory entry, thus they are always
stored in the page cache, not in the head buffer.  The length of the
reply that goes in head[0] should not have changed to support
NFSv4.2 labels.

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent bd0f725c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -203,8 +203,7 @@ static int nfs4_stat_to_errno(int);
				 2 + encode_verifier_maxsz + 5 + \
				nfs4_label_maxsz)
#define decode_readdir_maxsz	(op_decode_hdr_maxsz + \
				 decode_verifier_maxsz + \
				nfs4_label_maxsz + nfs4_fattr_maxsz)
				 decode_verifier_maxsz)
#define encode_readlink_maxsz	(op_encode_hdr_maxsz)
#define decode_readlink_maxsz	(op_decode_hdr_maxsz + 1)
#define encode_write_maxsz	(op_encode_hdr_maxsz + \