commit | 6347b3c433a4cff00eb2299c7f2c7d1d8b24c1fc | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Wed Dec 05 10:53:45 2012 +0000 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Dec 16 20:46:19 2012 -0500 |
tree | 528eabdcc7fe59c50ac8dba4347851f05ff83b2d | |
parent | 4b5829a8e3104c8bc115d926a0285d3ff9bcfc77 [diff] |
Btrfs: fix off-by-one error of the same page check in btrfs_punch_hole() (start + len) is the start of the adjacent extent, not the end of the current extent, so we should not use it to check the hole is on the same page or not. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>