]> 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)
commitc649e235e53347ed1dc94704b8a415bd6fbe6e10
treef0b4a31e869230810115a350e5080e56b18e0e07
parent3643b3302040faa5b489c79526a092bbe82889be
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