commit | f1e490a7ebe41e06324abbbcd86005b0af02a375 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Thu Aug 18 10:36:39 2011 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Aug 18 10:36:39 2011 -0400 |
tree | c8ffa501d66399656377b7b4c633aaadd1604467 | |
parent | f81c9cdc567cd3160ff9e64868d9a1a7ee226480 [diff] |
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 <josef@redhat.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>