aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-03-24 15:02:07 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:01 -0400
commit8a4b83cc8bd75fca29ac68615896d9e92820e7c2 (patch)
treeb7f99cf53c322665b78cca10742cc734ad070729 /fs/btrfs/disk-io.h
parent239b14b32dc39232ebf9cce29ff77c4c564355fd (diff)
Btrfs: Add support for device scanning and detection ioctls
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r--fs/btrfs/disk-io.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h
index 206cb48638f7..b7cbc58a5553 100644
--- a/fs/btrfs/disk-io.h
+++ b/fs/btrfs/disk-io.h
@@ -21,6 +21,7 @@
21 21
22#define BTRFS_SUPER_INFO_OFFSET (16 * 1024) 22#define BTRFS_SUPER_INFO_OFFSET (16 * 1024)
23struct btrfs_device; 23struct btrfs_device;
24struct btrfs_fs_devices;
24 25
25struct extent_buffer *read_tree_block(struct btrfs_root *root, u64 bytenr, 26struct extent_buffer *read_tree_block(struct btrfs_root *root, u64 bytenr,
26 u32 blocksize); 27 u32 blocksize);
@@ -29,7 +30,8 @@ struct extent_buffer *btrfs_find_create_tree_block(struct btrfs_root *root,
29 u64 bytenr, u32 blocksize); 30 u64 bytenr, u32 blocksize);
30int clean_tree_block(struct btrfs_trans_handle *trans, 31int clean_tree_block(struct btrfs_trans_handle *trans,
31 struct btrfs_root *root, struct extent_buffer *buf); 32 struct btrfs_root *root, struct extent_buffer *buf);
32struct btrfs_root *open_ctree(struct super_block *sb); 33struct btrfs_root *open_ctree(struct super_block *sb,
34 struct btrfs_fs_devices *fs_devices);
33int close_ctree(struct btrfs_root *root); 35int close_ctree(struct btrfs_root *root);
34int write_ctree_super(struct btrfs_trans_handle *trans, 36int write_ctree_super(struct btrfs_trans_handle *trans,
35 struct btrfs_root *root); 37 struct btrfs_root *root);