• J. Bruce Fields's avatar
    nfsd4: don't try to encode conflicting owner if low on space · 8c7424cf
    J. Bruce Fields authored
    I ran into this corner case in testing: in theory clients can provide
    state owners up to 1024 bytes long.  In the sessions case there might be
    a risk of this pushing us over the DRC slot size.
    
    The conflicting owner isn't really that important, so let's humor a
    client that provides a small maxresponsize_cached by allowing ourselves
    to return without the conflicting owner instead of outright failing the
    operation.
    Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
    8c7424cf
nfs4xdr.c 96.6 KB