summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.h
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2016-06-20 14:14:09 -0400
committerDavid Sterba <dsterba@suse.com>2016-07-26 13:53:18 +0200
commit7c0260ee098db7a05fd68812b2e21ce2e19dfcf0 (patch)
tree25e787514a685917ab6b11535275e831001d24f5 /fs/btrfs/disk-io.h
parent8632daae40c1a5b8fcc1d66d788c143353fd70b7 (diff)
downloadop-kernel-dev-7c0260ee098db7a05fd68812b2e21ce2e19dfcf0.zip
op-kernel-dev-7c0260ee098db7a05fd68812b2e21ce2e19dfcf0.tar.gz
btrfs: tests, require fs_info for root
This allows the upcoming patchset to push nodesize and sectorsize into fs_info. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r--fs/btrfs/disk-io.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h
index acba821..c9d42c9 100644
--- a/fs/btrfs/disk-io.h
+++ b/fs/btrfs/disk-io.h
@@ -90,7 +90,8 @@ void btrfs_drop_and_free_fs_root(struct btrfs_fs_info *fs_info,
void btrfs_free_fs_root(struct btrfs_root *root);
#ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS
-struct btrfs_root *btrfs_alloc_dummy_root(u32 sectorsize, u32 nodesize);
+struct btrfs_root *btrfs_alloc_dummy_root(struct btrfs_fs_info *fs_info,
+ u32 sectorsize, u32 nodesize);
#endif
/*
OpenPOWER on IntegriCloud