diff options
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-09-28 13:09:01 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2020-10-12 10:29:45 -0400 |
commit | 9f0b5792f07d8f0745c3620d577d6930ff2a96fd (patch) | |
tree | aaa8d5b79d184999aa2ca975a43e52d31b48e14c /include/acpi | |
parent | 278765ea0752e67922c0f2aaf1138f6ba227688d (diff) | |
download | linux-stable-9f0b5792f07d8f0745c3620d577d6930ff2a96fd.tar.gz linux-stable-9f0b5792f07d8f0745c3620d577d6930ff2a96fd.tar.bz2 linux-stable-9f0b5792f07d8f0745c3620d577d6930ff2a96fd.zip |
NFSD: Encode a full READ_PLUS reply
Reply to the client with multiple hole and data segments. I use the
result of the first vfs_llseek() call for encoding as an optimization so
we don't have to immediately repeat the call. This also lets us encode
any remaining reply as data if we get an unexpected result while trying
to calculate a hole.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions