diff options
author | Brian Foster <bfoster@redhat.com> | 2022-11-16 18:28:36 +0300 |
---|---|---|
committer | Chuck Lever <cel@kernel.org> | 2022-12-10 19:01:12 +0300 |
commit | 79a1d88a36f77374c77fd41a4386d8c2736b8704 (patch) | |
tree | ca466fc463ef25a2292c3fedd9bb9ce417357e16 /fs/nfs/nfstrace.h | |
parent | 9f27783b4dd235ef3c8dbf69fc6322777450323c (diff) | |
download | linux-79a1d88a36f77374c77fd41a4386d8c2736b8704.tar.xz |
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