diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-03-24 15:02:07 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:01 -0400 |
commit | 8a4b83cc8bd75fca29ac68615896d9e92820e7c2 (patch) | |
tree | b7f99cf53c322665b78cca10742cc734ad070729 /fs/btrfs/disk-io.h | |
parent | 239b14b32dc39232ebf9cce29ff77c4c564355fd (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.h | 4 |
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) |
23 | struct btrfs_device; | 23 | struct btrfs_device; |
24 | struct btrfs_fs_devices; | ||
24 | 25 | ||
25 | struct extent_buffer *read_tree_block(struct btrfs_root *root, u64 bytenr, | 26 | struct 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); |
30 | int clean_tree_block(struct btrfs_trans_handle *trans, | 31 | int 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); |
32 | struct btrfs_root *open_ctree(struct super_block *sb); | 33 | struct btrfs_root *open_ctree(struct super_block *sb, |
34 | struct btrfs_fs_devices *fs_devices); | ||
33 | int close_ctree(struct btrfs_root *root); | 35 | int close_ctree(struct btrfs_root *root); |
34 | int write_ctree_super(struct btrfs_trans_handle *trans, | 36 | int write_ctree_super(struct btrfs_trans_handle *trans, |
35 | struct btrfs_root *root); | 37 | struct btrfs_root *root); |