diff options
author | Brian Foster <[email protected]> | 2022-11-16 10:28:36 -0500 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2022-12-10 11:01:12 -0500 |
commit | 79a1d88a36f77374c77fd41a4386d8c2736b8704 (patch) | |
tree | ca466fc463ef25a2292c3fedd9bb9ce417357e16 /lib/mpi/mpi-mod.c | |
parent | 9f27783b4dd235ef3c8dbf69fc6322777450323c (diff) |
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 <[email protected]>
Tested-by: Dai Ngo <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions