summaryrefslogtreecommitdiff
path: root/disk-io.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-21 11:13:29 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-21 11:13:29 -0400
commit8a2c8123c5ee5b09f3b8265e5e6db2e687d29e99 (patch)
tree4e608f93d52d4df45d20e3482ac8acaf02244118 /disk-io.h
parentb55672a2a1694d27b73f8233efcc1d986bfc797a (diff)
create a root dir in mkfs
Diffstat (limited to 'disk-io.h')
-rw-r--r--disk-io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/disk-io.h b/disk-io.h
index 24a9e77c..d888cf5c 100644
--- a/disk-io.h
+++ b/disk-io.h
@@ -24,6 +24,7 @@ int clean_tree_block(struct btrfs_trans_handle *trans,
int btrfs_commit_transaction(struct btrfs_trans_handle *trans, struct btrfs_root
*root, struct btrfs_super_block *s);
struct btrfs_root *open_ctree(char *filename, struct btrfs_super_block *s);
+struct btrfs_root *open_ctree_fd(int fp, struct btrfs_super_block *super);
int close_ctree(struct btrfs_root *root, struct btrfs_super_block *s);
void btrfs_block_release(struct btrfs_root *root, struct btrfs_buffer *buf);
int write_ctree_super(struct btrfs_trans_handle *trans, struct btrfs_root *root,