|
@@ -46,9 +46,9 @@ struct extent_buffer *btrfs_find_create_tree_block(struct btrfs_root *root,
|
|
u64 bytenr, u32 blocksize);
|
|
u64 bytenr, u32 blocksize);
|
|
int clean_tree_block(struct btrfs_trans_handle *trans,
|
|
int clean_tree_block(struct btrfs_trans_handle *trans,
|
|
struct btrfs_root *root, struct extent_buffer *buf);
|
|
struct btrfs_root *root, struct extent_buffer *buf);
|
|
-struct btrfs_root *open_ctree(struct super_block *sb,
|
|
|
|
- struct btrfs_fs_devices *fs_devices,
|
|
|
|
- char *options);
|
|
|
|
|
|
+int open_ctree(struct super_block *sb,
|
|
|
|
+ struct btrfs_fs_devices *fs_devices,
|
|
|
|
+ char *options);
|
|
int close_ctree(struct btrfs_root *root);
|
|
int close_ctree(struct btrfs_root *root);
|
|
int write_ctree_super(struct btrfs_trans_handle *trans,
|
|
int write_ctree_super(struct btrfs_trans_handle *trans,
|
|
struct btrfs_root *root, int max_mirrors);
|
|
struct btrfs_root *root, int max_mirrors);
|