Skip to content
Commit 8c7424cf authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd4: don't try to encode conflicting owner if low on space



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>
parent f5236013
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment