diff options
author | Yan Zheng <zheng.yan@oracle.com> | 2008-10-31 12:48:02 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-10-31 12:48:02 -0400 |
commit | 95470dfaf12dc8aa59bcb6829c4a7f759d2c5ff6 (patch) | |
tree | b72ac1d7c124699217732381371699f73e699f8b /btrfsck.c | |
parent | 0a7869d69df44b5993f7c5d6bbf9cce217561aff (diff) |
Add fallocate support v2
This patch updates btrfs-progs for fallocate support.
Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Diffstat (limited to 'btrfsck.c')
-rw-r--r-- | btrfsck.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -621,8 +621,8 @@ static int run_next_block(struct btrfs_root *root, continue; fi = btrfs_item_ptr(buf, i, struct btrfs_file_extent_item); - if (btrfs_file_extent_type(buf, fi) != - BTRFS_FILE_EXTENT_REG) + if (btrfs_file_extent_type(buf, fi) == + BTRFS_FILE_EXTENT_INLINE) continue; if (btrfs_file_extent_disk_bytenr(buf, fi) == 0) continue; |