From: Josef Bacik Date: Tue, 20 Aug 2013 19:55:39 +0000 (-0400) Subject: Btrfs: fix send to deal with sparse files properly X-Git-Tag: v3.12-rc1~40^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57cfd4627046efc43081d26b5db77dbfb7595caa;p=pandora-kernel.git Btrfs: fix send to deal with sparse files properly Send was just sending everything it found, even if the extent was a hole. This is unpleasant for users, so just skip holes when we are sending. This will also skip sending prealloc extents since the send spec doesn't have a prealloc command. Eventually we will add a prealloc command and rev the send version so we can send down the prealloc info. Thanks, Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed