summaryrefslogtreecommitdiff
path: root/fs/btrfs/free-space-cache.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-08-18 14:36:39 (GMT)
committerChris Mason <chris.mason@oracle.com>2011-08-18 14:36:39 (GMT)
commitf1e490a7ebe41e06324abbbcd86005b0af02a375 (patch)
treec8ffa501d66399656377b7b4c633aaadd1604467 /fs/btrfs/free-space-cache.c
parentf81c9cdc567cd3160ff9e64868d9a1a7ee226480 (diff)
downloadlinux-fsl-qoriq-f1e490a7ebe41e06324abbbcd86005b0af02a375.tar.xz
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>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
0 files changed, 0 insertions, 0 deletions