diff options
author | Sage Weil <sage@newdream.net> | 2011-08-10 18:04:04 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-08-17 01:09:31 (GMT) |
commit | f81c9cdc567cd3160ff9e64868d9a1a7ee226480 (patch) | |
tree | d4812f9328ea0f5945c42a6b694bdcdb7bdbd707 /fs/direct-io.c | |
parent | 0e588859618be54ec100373f1b86296271ce5307 (diff) | |
download | linux-fsl-qoriq-f81c9cdc567cd3160ff9e64868d9a1a7ee226480.tar.xz |
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 <sage@newdream.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions