]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
btrfs: tests, use BTRFS_FS_STATE_DUMMY_FS_INFO instead of dummy root
authorJeff Mahoney <jeffm@suse.com>
Tue, 21 Jun 2016 13:52:41 +0000 (09:52 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Jul 2016 11:54:19 +0000 (13:54 +0200)
commitf5ee5c9ac56cd328fcc915582f81226affebd81c
treea8794c47784f0565553233353702d02fd2e5fc28
parent7c0260ee098db7a05fd68812b2e21ce2e19dfcf0
btrfs: tests, use BTRFS_FS_STATE_DUMMY_FS_INFO instead of dummy root

Now that we have a dummy fs_info associated with each test that
uses a root, we don't need the DUMMY_ROOT bit anymore.  This lets
us make choices without needing an actual root like in e.g.
btrfs_find_create_tree_block.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c
fs/btrfs/ctree.c
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/inode.c
fs/btrfs/qgroup.c