aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-02-21 17:04:57 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-02-21 17:04:57 -0500
commitcfaa72952fa7b44aa5d967cbc266110900552aef (patch)
tree7ca429e7417d168faa57dab4bc069c23fefb5cc4 /fs/btrfs/disk-io.h
parent06ed4b316e8e24b6899ece7186c6a7a0129326ba (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.h4
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
13struct tree_buffer *read_tree_block(struct ctree_root *root, u64 blocknr); 13struct tree_buffer *read_tree_block(struct ctree_root *root, u64 blocknr);
14int write_tree_block(struct ctree_root *root, struct tree_buffer *buf); 14int write_tree_block(struct ctree_root *root, struct tree_buffer *buf);
15struct ctree_root *open_ctree(char *filename); 15struct ctree_root *open_ctree(char *filename, struct ctree_super_block *s);
16int close_ctree(struct ctree_root *root); 16int close_ctree(struct ctree_root *root);
17void tree_block_release(struct ctree_root *root, struct tree_buffer *buf); 17void tree_block_release(struct ctree_root *root, struct tree_buffer *buf);
18struct tree_buffer *alloc_free_block(struct ctree_root *root); 18struct tree_buffer *alloc_free_block(struct ctree_root *root);
19int update_root_block(struct ctree_root *root); 19int write_ctree_super(struct ctree_root *root, struct ctree_super_block *s);
20int mkfs(int fd); 20int mkfs(int fd);
21 21
22#define CTREE_SUPER_INFO_OFFSET(bs) (16 * (bs)) 22#define CTREE_SUPER_INFO_OFFSET(bs) (16 * (bs))