Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Btrfs: truncate pages from clone ioctl target range
We need to truncate page cache pages for the clone ioctl target range or else we'll confuse ourselves to no end. If the old data was cached, we used to still see it (until remount). If the page was partially updated we used to get a mix of old and new data. Signed-off-by: Sage Weil <[email protected]> Signed-off-by: Chris Mason <[email protected]>
- Loading branch information