shaharhoch@google.com has uploaded this change for review.

View Change

nfs4_op_readdir: Always return NFS4ERR_TOOSMALL if we didn't have enough space for a single entry

There were some flows that set it on failure and some that didn't.
Better to always check on failure flow and set it.

Change-Id: Ib2cde47fab7d9055d14495e335018a0e27b2d43f
Signed-off-by: Shahar Hochma <shaharhoch@google.com>
---
M src/Protocols/NFS/nfs4_op_readdir.c
1 file changed, 4 insertions(+), 6 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/07/1201307/1

To view, visit change 1201307. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ib2cde47fab7d9055d14495e335018a0e27b2d43f
Gerrit-Change-Number: 1201307
Gerrit-PatchSet: 1
Gerrit-Owner: shaharhoch@google.com