From: Josef Bacik Date: Fri, 18 Oct 2013 15:44:46 +0000 (-0400) Subject: Btrfs: fix up seek_hole/seek_data handling X-Git-Tag: v3.13-rc1~85^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f4ca37c486733da008778a1f4058fbc194a4fdd;p=pandora-kernel.git Btrfs: fix up seek_hole/seek_data handling Whoever wrote this was braindead. Also it doesn't work right if you have VACANCY's since we assumed you would only have that at the end of the file, which won't be the case in the near future. I tested this with generic/285 and generic/286 as well as the btrfs tests that use fssum since it uses seek_hole/seek_data to verify things are ok. Thanks, Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed