From: Josef Bacik Date: Thu, 18 Aug 2011 14:36:39 +0000 (-0400) Subject: Btrfs: set i_size properly when fallocating and we already X-Git-Tag: v3.1-rc3~14^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1e490a7ebe41e06324abbbcd86005b0af02a375;p=pandora-kernel.git Btrfs: set i_size properly when fallocating and we already xfstests exposed a problem with preallocate when it fallocates a range that already has an extent. We don't set the new i_size properly because we see that we already have an extent. This isn't right and we should update i_size if the space already exists. With this patch we now pass xfstests 075. Thanks, Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed