Trond Myklebust f2e717d655 nfsd4: Handle the NFSv4 READDIR 'dircount' hint being zero
RFC3530 notes that the 'dircount' field may be zero, in which case the
recommendation is to ignore it, and only enforce the 'maxcount' field.
In RFC5661, this recommendation to ignore a zero valued field becomes a
requirement.

Fixes: aee377644146 ("nfsd4: fix rd_dircount enforcement")
Cc: <stable@vger.kernel.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2021-09-30 16:53:17 -04:00
..
2021-02-23 13:39:45 -08:00
2021-01-25 09:36:28 -05:00
2021-05-07 11:23:41 -07:00
2020-09-25 18:01:26 -04:00
2021-01-24 14:27:17 +01:00
2021-08-26 15:32:28 -04:00
2021-03-22 10:19:02 -04:00
2021-01-25 09:36:28 -05:00
2021-08-17 11:47:53 -04:00
2018-09-25 20:34:54 -04:00