diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-03-28 13:57:48 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-03-28 13:57:48 -0400 |
commit | d98237b3ede7ab98892f7fa62201a13694c526e2 (patch) | |
tree | cdf99f2d1e9bc088027cd98e5ed0e4efc79698e3 /fs/btrfs/disk-io.h | |
parent | 5f443fd280c76a2170259cebaa4108c9daad6e1b (diff) |
Btrfs: use a btree inode instead of sb_getblk
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 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index 099f7eea0ec7..c2c38bda704d 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h | |||
@@ -21,7 +21,8 @@ static inline struct btrfs_header *btrfs_buffer_header(struct buffer_head *bh) | |||
21 | } | 21 | } |
22 | 22 | ||
23 | struct buffer_head *read_tree_block(struct btrfs_root *root, u64 blocknr); | 23 | struct buffer_head *read_tree_block(struct btrfs_root *root, u64 blocknr); |
24 | struct buffer_head *find_tree_block(struct btrfs_root *root, u64 blocknr); | 24 | struct buffer_head *btrfs_find_create_tree_block(struct btrfs_root *root, |
25 | u64 blocknr); | ||
25 | int write_tree_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, | 26 | int write_tree_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, |
26 | struct buffer_head *buf); | 27 | struct buffer_head *buf); |
27 | int dirty_tree_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, | 28 | int dirty_tree_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, |
@@ -37,5 +38,5 @@ int close_ctree(struct btrfs_root *root); | |||
37 | void btrfs_block_release(struct btrfs_root *root, struct buffer_head *buf); | 38 | void btrfs_block_release(struct btrfs_root *root, struct buffer_head *buf); |
38 | int write_ctree_super(struct btrfs_trans_handle *trans, | 39 | int write_ctree_super(struct btrfs_trans_handle *trans, |
39 | struct btrfs_root *root); | 40 | struct btrfs_root *root); |
40 | int mkfs(int fd, u64 num_blocks, u32 blocksize); | 41 | struct buffer_head *btrfs_find_tree_block(struct btrfs_root *root, u64 blocknr); |
41 | #endif | 42 | #endif |