projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'staging-5.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[linux-2.6-microblaze.git]
/
fs
/
xfs
/
xfs_reflink.c
diff --git
a/fs/xfs/xfs_reflink.c
b/fs/xfs/xfs_reflink.c
index
4dd4af6
..
060695d
100644
(file)
--- a/
fs/xfs/xfs_reflink.c
+++ b/
fs/xfs/xfs_reflink.c
@@
-1522,7
+1522,8
@@
xfs_reflink_unshare(
if (error)
goto out;
- error = filemap_write_and_wait_range(inode->i_mapping, offset, len);
+ error = filemap_write_and_wait_range(inode->i_mapping, offset,
+ offset + len - 1);
if (error)
goto out;