summaryrefslogtreecommitdiffstats
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)
downloadop-kernel-dev-cfaa72952fa7b44aa5d967cbc266110900552aef.zip
op-kernel-dev-cfaa72952fa7b44aa5d967cbc266110900552aef.tar.gz
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 41acb65..e288fe8 100644
--- a/fs/btrfs/disk-io.h
+++ b/fs/btrfs/disk-io.h
@@ -12,11 +12,11 @@ struct tree_buffer {
struct tree_buffer *read_tree_block(struct ctree_root *root, u64 blocknr);
int write_tree_block(struct ctree_root *root, struct tree_buffer *buf);
-struct ctree_root *open_ctree(char *filename);
+struct ctree_root *open_ctree(char *filename, struct ctree_super_block *s);
int close_ctree(struct ctree_root *root);
void tree_block_release(struct ctree_root *root, struct tree_buffer *buf);
struct tree_buffer *alloc_free_block(struct ctree_root *root);
-int update_root_block(struct ctree_root *root);
+int write_ctree_super(struct ctree_root *root, struct ctree_super_block *s);
int mkfs(int fd);
#define CTREE_SUPER_INFO_OFFSET(bs) (16 * (bs))
OpenPOWER on IntegriCloud