commit | aaedb55bc08f384b7f57dbb3222a511baed4decf | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fusionio.com> | Fri Oct 11 14:44:09 2013 -0400 |
committer | Chris Mason <chris.mason@fusionio.com> | Mon Nov 11 21:57:30 2013 -0500 |
tree | a82118fce66fff847e3412eae4ef7c3c3dc5c616 | |
parent | 294e30fee35d3151d100cfe59e839c2dbc16a374 [diff] |
Btrfs: add tests for btrfs_get_extent I'm going to be removing hole extents in the near future so I wanted to make a sanity test for btrfs_get_extent to make sure I don't break anything in the meantime. This patch just puts btrfs_get_extent through its paces by giving it a completely unreasonable mapping to look at and make sure it is giving us back maps that make sense. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>