Btrfs: add a sanity test for a vacant extent at the front of a file
authorJosef Bacik <jbacik@fusionio.com>
Mon, 14 Oct 2013 17:15:02 +0000 (13:15 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 02:58:19 +0000 (21:58 -0500)
commit0e30db86a4524f9e655e8cb9335b4da1787db3c1
tree4e0b7ec4e3a675feed89e40c36fccfc837f4bc35
parent25a50341b6269b0622434d9360f0c771d219681a
Btrfs: add a sanity test for a vacant extent at the front of a file

Btrfs_get_extent was not handling this case properly, add a test to make sure we
don't regress.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/tests/inode-tests.c