summaryrefslogtreecommitdiff
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2023-04-06 15:16:52 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2023-04-28 15:48:45 -0400
commitfbd2a05f29a95d5b42b294bf47e55a711424965b (patch)
tree065a16290f26fa11199e2ce8f077748743ead50c /fs/nfs/inode.c
parente025f0a73f6acb920d86549b2177a5883535421d (diff)
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: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/inode.c')
0 files changed, 0 insertions, 0 deletions