diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2011-09-18 10:20:46 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-09-18 10:20:46 -0400 |
commit | 71ef07861080418d125dcf454af41baafa409a2c (patch) | |
tree | 9f2c706625a67a5164f774805eb8aaa32ea2410b /fs/jbd | |
parent | 3765fefaee2da83f10829fa64a74e6b7360350cb (diff) | |
download | blackbird-obmc-linux-71ef07861080418d125dcf454af41baafa409a2c.tar.gz blackbird-obmc-linux-71ef07861080418d125dcf454af41baafa409a2c.zip |
Btrfs: fix pages truncation in btrfs_ioctl_clone()
It's a bug in commit f81c9cdc567cd3160ff9e64868d9a1a7ee226480
(Btrfs: truncate pages from clone ioctl target range)
We should pass the dest range to the truncate function, but not the
src range.
Also move the function before locking extent state.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/jbd')
0 files changed, 0 insertions, 0 deletions