Btrfs: calc file extent num_bytes correctly in file clone
authorLi Zefan <lizf@cn.fujitsu.com>
Sun, 11 Sep 2011 14:52:25 +0000 (10:52 -0400)
committerChris Mason <chris.mason@oracle.com>
Sun, 11 Sep 2011 14:52:25 +0000 (10:52 -0400)
commitd72c0842ff0e71342857723bb65f35b71f57b264
treeab0e5037f19fd279fb57b3b653a53d5c92f32e73
parent4815053aba7f2304055745df820cd74a39fdaab2
Btrfs: calc file extent num_bytes correctly in file clone

num_bytes should be 4096 not 12288.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ioctl.c