Repository navigation
Commit de8a646
nfsd4: fix rd_dircount enforcement
commit aee3776 upstream.
Commit 3b29970 "nfsd4: enforce rd_dircount" totally misunderstood
rd_dircount; it refers to total non-attribute bytes returned, not number
of directory entries returned.
Bring the code into agreement with RFC 3530 section 14.2.24.
Fixes: 3b29970 "nfsd4: enforce rd_dircount"
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 0203e57 commit de8a646
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2662 | 2662 | | |
2663 | 2663 | | |
2664 | 2664 | | |
| 2665 | + | |
2665 | 2666 | | |
2666 | 2667 | | |
2667 | 2668 | | |
| |||
2723 | 2724 | | |
2724 | 2725 | | |
2725 | 2726 | | |
2726 | | - | |
| 2727 | + | |
| 2728 | + | |
| 2729 | + | |
| 2730 | + | |
| 2731 | + | |
| 2732 | + | |
| 2733 | + | |
| 2734 | + | |
2727 | 2735 | | |
2728 | 2736 | | |
2729 | 2737 | | |
| |||
3333 | 3341 | | |
3334 | 3342 | | |
3335 | 3343 | | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
3336 | 3348 | | |
3337 | 3349 | | |
3338 | 3350 | | |
| |||
0 commit comments