]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite52b45dbeb503f2c08fb3788cd0e50496da14af8
treef0b4a31e869230810115a350e5080e56b18e0e07
parent2a2b6b3e7b2618bdef1280b58017049a17465157
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