diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-04-28 22:41:39 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-04-29 07:45:44 -0700 |
commit | d4f74e162d238ce00a640af5f0611c3f51dad70e (patch) | |
tree | 58cf13fd2f1879bf8292965b9d66500989e80dfa /fs/zonefs | |
parent | fd43cf600cf61c66ae0a1021aca2f636115c7fcb (diff) | |
download | linux-d4f74e162d238ce00a640af5f0611c3f51dad70e.tar.gz linux-d4f74e162d238ce00a640af5f0611c3f51dad70e.tar.bz2 linux-d4f74e162d238ce00a640af5f0611c3f51dad70e.zip |
xfs: fix xfs_reflink_unshare usage of filemap_write_and_wait_range
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: 46afb0628b86 ("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>
Diffstat (limited to 'fs/zonefs')
0 files changed, 0 insertions, 0 deletions