From: Jan Schmidt Date: Thu, 21 Mar 2013 14:30:23 +0000 (+0000) Subject: Btrfs: fix EIO from btrfs send in is_extent_unchanged for punched holes X-Git-Tag: v3.9-rc5~8^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adaa4b8e4d47eeb114513c2f7a172929154b94bd;p=pandora-kernel.git Btrfs: fix EIO from btrfs send in is_extent_unchanged for punched holes When you take a snapshot, punch a hole where there has been data, then take another snapshot and try to send an incremental stream, btrfs send would give you EIO. That is because is_extent_unchanged had no support for holes being punched. With this patch, instead of returning EIO we just return 0 (== the extent is not unchanged) and we're good. Signed-off-by: Jan Schmidt Cc: Alexander Block Signed-off-by: Josef Bacik --- Reading git-diff-tree failed