btrfs: preallocate anon block device at first phase of snapshot creation
[sfrench/cifs-2.6.git] / fs / btrfs / disk-io.h
index bf43245406c4d98b813e4015a6040bc1bbfa7307..00dc39d47ed346449c66e37c8f453f86428bd405 100644 (file)
@@ -67,6 +67,8 @@ void btrfs_free_fs_roots(struct btrfs_fs_info *fs_info);
 
 struct btrfs_root *btrfs_get_fs_root(struct btrfs_fs_info *fs_info,
                                     u64 objectid, bool check_ref);
+struct btrfs_root *btrfs_get_new_fs_root(struct btrfs_fs_info *fs_info,
+                                        u64 objectid, dev_t anon_dev);
 
 void btrfs_free_fs_info(struct btrfs_fs_info *fs_info);
 int btrfs_cleanup_fs_roots(struct btrfs_fs_info *fs_info);