diff options
author | Brian Foster <bfoster@redhat.com> | 2022-11-16 16:28:36 +0100 |
---|---|---|
committer | Chuck Lever <cel@kernel.org> | 2022-12-10 17:01:12 +0100 |
commit | 79a1d88a36f77374c77fd41a4386d8c2736b8704 (patch) | |
tree | ca466fc463ef25a2292c3fedd9bb9ce417357e16 /fs/nfs/nfstrace.h | |
parent | lockd: fix file selection in nlmsvc_cancel_blocked (diff) | |
download | linux-79a1d88a36f77374c77fd41a4386d8c2736b8704.tar.xz linux-79a1d88a36f77374c77fd41a4386d8c2736b8704.zip |
NFSD: pass range end to vfs_fsync_range() instead of count
_nfsd_copy_file_range() calls vfs_fsync_range() with an offset and
count (bytes written), but the former wants the start and end bytes
of the range to sync. Fix it up.
Fixes: eac0b17a77fb ("NFSD add vfs_fsync after async copy is done")
Signed-off-by: Brian Foster <bfoster@redhat.com>
Tested-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfs/nfstrace.h')
0 files changed, 0 insertions, 0 deletions