From: Josef Bacik Date: Mon, 14 Oct 2013 21:23:08 +0000 (-0400) Subject: Btrfs: fix hole check in log_one_extent X-Git-Tag: v3.13-rc1~85^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed9e8af88e2551aaa6bf51d8063a2493e2d71597;p=pandora-kernel.git Btrfs: fix hole check in log_one_extent I added an assert to make sure we were looking up aligned offsets for csums and I tripped it when running xfstests. This is because log_one_extent was checking if block_start == 0 for a hole instead of EXTENT_MAP_HOLE. This worked out fine in practice it seems, but it adds a lot of extra work that is uneeded. With this fix I'm no longer tripping my assert. Thanks, Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed