btrfs: tests, move initialization into tests/
authorJeff Mahoney <jeffm@suse.com>
Mon, 20 Jun 2016 17:16:40 +0000 (13:16 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Jul 2016 11:53:17 +0000 (13:53 +0200)
commit8632daae40c1a5b8fcc1d66d788c143353fd70b7
treef0b4a31e869230810115a350e5080e56b18e0e07
parent3cdde2240d4533ff71fbb8dc9c32d5d57d3cdeed
btrfs: tests, move initialization into tests/

We have all these stubs that only exist because they're called from
btrfs_run_sanity_tests, which is a static inside super.c.  Let's just
move it all into tests/btrfs-tests.c and only have one stub.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c
fs/btrfs/tests/btrfs-tests.c
fs/btrfs/tests/btrfs-tests.h