Skip to content
Snippets Groups Projects
Commit fbd2a05f authored by Anna Schumaker's avatar Anna Schumaker
Browse files

NFSv4.2: Rework scratch handling for READ_PLUS


Instead of using a tiny, static scratch buffer, we should use a kmalloc()-ed
buffer that is allocated when checking for read plus usage. This lets us
use the buffer before decoding any part of the READ_PLUS operation
instead of setting it right before segment decoding, meaning it should
be a little more robust.

Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent e025f0a7
No related branches found
No related tags found
No related merge requests found
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