Files
linux/fs/xfs
Darrick J. Wong 9203dfb3ed xfs: fix xfs_reflink_unshare usage of filemap_write_and_wait_range
commit d4f74e162d upstream.

The final parameter of filemap_write_and_wait_range is the end of the
range to flush, not the length of the range to flush.

Fixes: 46afb0628b ("xfs: only flush the unshared range in xfs_reflink_unshare")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Acked-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-07 17:52:20 +02:00
..
2020-09-06 18:05:51 -07:00
2020-09-15 20:52:41 -07:00
2020-09-15 20:52:41 -07:00
2020-03-02 20:55:55 -08:00
2020-03-11 09:11:39 -07:00
2020-05-07 08:27:48 -07:00
2020-09-15 20:52:42 -07:00
2020-09-15 20:52:39 -07:00
2022-07-07 17:52:19 +02:00
2020-09-15 20:52:39 -07:00
2020-05-08 08:51:34 -07:00