shaharhoch(a)google.com has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1201307?usp=email )
Change subject: nfs4_op_readdir: Always return NFS4ERR_TOOSMALL if we didn't have
enough space for a single entry
......................................................................
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(a)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
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1201307?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: Ib2cde47fab7d9055d14495e335018a0e27b2d43f
Gerrit-Change-Number: 1201307
Gerrit-PatchSet: 1
Gerrit-Owner: shaharhoch(a)google.com