diff options
author | Chris Mason <chris.mason@oracle.com> | 2011-02-23 21:23:20 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-02-23 21:23:20 (GMT) |
commit | ec29ed5b407d618a8128f5942aade9e1758aa14b (patch) | |
tree | 19b3c13f15504cf9de116f0bd55045ebcf0d0cfc /fs/ext4/balloc.c | |
parent | fb01aa85b8b29c1a4e1f4a28ea54175de6bf7559 (diff) | |
download | linux-fsl-qoriq-ec29ed5b407d618a8128f5942aade9e1758aa14b.tar.xz |
Btrfs: fix fiemap bugs with delalloc
The Btrfs fiemap code wasn't properly returning delalloc extents,
so applications that trust fiemap to decide if there are holes in the
file see holes instead of delalloc.
This reworks the btrfs fiemap code, adding a get_extent helper that
searches for delalloc ranges and also adding a helper for extent_fiemap
that skips past holes in the file.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/ext4/balloc.c')
0 files changed, 0 insertions, 0 deletions