btrfs: Make btrfs_init_dummy_trans initialize trans' fs_info field
[sfrench/cifs-2.6.git] / fs / btrfs / tests / btrfs-tests.h
index a5a0b9500d3e344307c12e88887c8e4f6ac8328f..4c11cffb377c26426556a44af16931715a526487 100644 (file)
@@ -28,7 +28,8 @@ void btrfs_free_dummy_root(struct btrfs_root *root);
 struct btrfs_block_group_cache *
 btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info, unsigned long length);
 void btrfs_free_dummy_block_group(struct btrfs_block_group_cache *cache);
-void btrfs_init_dummy_trans(struct btrfs_trans_handle *trans);
+void btrfs_init_dummy_trans(struct btrfs_trans_handle *trans,
+                           struct btrfs_fs_info *fs_info);
 #else
 static inline int btrfs_run_sanity_tests(void)
 {