Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nfsd4: fix buflen calculation after read encoding
We don't necessarily want to assume that the buflen is the same as the number of bytes available in the pages. We may have some reason to set it to something less (for example, later patches will use a smaller buflen to enforce session limits). So, calculate the buflen relative to the previous buflen instead of recalculating it from scratch. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
- Loading branch information