diff options
author | Sage Weil <sage@newdream.net> | 2010-06-12 22:31:14 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-07-19 16:15:06 -0400 |
commit | b5384d48f4e74edec3ca1887cb65e378a72af9a1 (patch) | |
tree | cf41ab7d6a2c2606abe465c8229f002675696de0 /README | |
parent | 99d8f83c98930100cd70437b0c81a935e7a14b0b (diff) |
Btrfs: fix CLONE ioctl destination file size expansion to block boundary
The CLONE and CLONE_RANGE ioctls round up the range of extents being
cloned to the block size when the range to clone extends to the end of file
(this is always the case with CLONE). It was then using that offset when
extending the destination file's i_size. Fix this by not setting i_size
beyond the originally requested ending offset.
This bug was introduced by a22285a6 (2.6.35-rc1).
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions