]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: add a sanity test for btrfs_split_item
authorJosef Bacik <jbacik@fusionio.com>
Thu, 19 Sep 2013 20:07:01 +0000 (16:07 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 02:51:02 +0000 (21:51 -0500)
commit53e3d85e7f23d3643ed3f1aa3d39292609f28084
treeda8445a365ceecd4df89a9d6a3da79afaa320765
parent6c6dcb98520e8b77ce02a48df7077ad08214b595
Btrfs: add a sanity test for btrfs_split_item

While looking at somebodys corruption I became completely convinced that
btrfs_split_item was broken, so I wrote this test to verify that it was working
as it was supposed to.  Thankfully it appears to be working as intended, so just
add this test to make sure nobody breaks it in the future.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/Makefile
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/super.c
fs/btrfs/tests/btrfs-tests.h
fs/btrfs/tests/extent-buffer-tests.c [new file with mode: 0644]