From: Miao Xie Date: Wed, 5 Dec 2012 10:53:45 +0000 (+0000) Subject: Btrfs: fix off-by-one error of the same page check in btrfs_punch_hole() X-Git-Tag: v3.8-rc1~71^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6347b3c433a4cff00eb2299c7f2c7d1d8b24c1fc;p=pandora-kernel.git 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 Signed-off-by: Chris Mason --- Reading git-diff-tree failed