diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-02-21 17:04:57 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-02-21 17:04:57 -0500 |
commit | cfaa72952fa7b44aa5d967cbc266110900552aef (patch) | |
tree | 7ca429e7417d168faa57dab4bc069c23fefb5cc4 /fs/btrfs/disk-io.h | |
parent | 06ed4b316e8e24b6899ece7186c6a7a0129326ba (diff) |
Btrfs: extent fixes
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, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index 41acb65eee1..e288fe883b9 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h | |||
@@ -12,11 +12,11 @@ struct tree_buffer { | |||
12 | 12 | ||
13 | struct tree_buffer *read_tree_block(struct ctree_root *root, u64 blocknr); | 13 | struct tree_buffer *read_tree_block(struct ctree_root *root, u64 blocknr); |
14 | int write_tree_block(struct ctree_root *root, struct tree_buffer *buf); | 14 | int write_tree_block(struct ctree_root *root, struct tree_buffer *buf); |
15 | struct ctree_root *open_ctree(char *filename); | 15 | struct ctree_root *open_ctree(char *filename, struct ctree_super_block *s); |
16 | int close_ctree(struct ctree_root *root); | 16 | int close_ctree(struct ctree_root *root); |
17 | void tree_block_release(struct ctree_root *root, struct tree_buffer *buf); | 17 | void tree_block_release(struct ctree_root *root, struct tree_buffer *buf); |
18 | struct tree_buffer *alloc_free_block(struct ctree_root *root); | 18 | struct tree_buffer *alloc_free_block(struct ctree_root *root); |
19 | int update_root_block(struct ctree_root *root); | 19 | int write_ctree_super(struct ctree_root *root, struct ctree_super_block *s); |
20 | int mkfs(int fd); | 20 | int mkfs(int fd); |
21 | 21 | ||
22 | #define CTREE_SUPER_INFO_OFFSET(bs) (16 * (bs)) | 22 | #define CTREE_SUPER_INFO_OFFSET(bs) (16 * (bs)) |