• J
    nfsd4: fix buflen calculation after read encoding · 30596768
    J. Bruce Fields 提交于
    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: NJ. Bruce Fields <bfields@redhat.com>
    30596768
nfs4xdr.c 96.1 KB