Vidya.Thumukunta(a)ibm.com has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1224002?usp=email )
Change subject: Fix RDDR11/RDDR12 pynfs failures by ignoring dircount==0 as entry limit
......................................................................
Fix RDDR11/RDDR12 pynfs failures by ignoring dircount==0 as entry limit
READDIR was returning NFS4ERR_TOOSMALL when dircount=0, as it was treated
as “no entries allowed.” Per RFC 8881, dircount==0 means “no limit,” and
the server should rely on maxcount to bound the reply.
This change skips the entry-limit check when dircount==0, allowing correct
NFS4_OK or NFS4ERR_ACCESS responses.
Change-Id: I12bff3c0bbfbda31d8ab9cc340cf99dfe0d63b4f
Signed-off-by: VidyaThumukunta <Vidya.Thumukunta(a)ibm.com>
---
M src/Protocols/NFS/nfs4_op_readdir.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/02/1224002/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1224002?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I12bff3c0bbfbda31d8ab9cc340cf99dfe0d63b4f
Gerrit-Change-Number: 1224002
Gerrit-PatchSet: 1
Gerrit-Owner: Vidya.Thumukunta(a)ibm.com