diff options
author | Arne Jansen <sensille@gmx.net> | 2011-09-13 10:44:20 (GMT) |
---|---|---|
committer | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-07-10 13:14:43 (GMT) |
commit | 20897f5c86b9d2b77baea1d48eda7fa4ac217279 (patch) | |
tree | d9c0e15de961c24baa043b7c4aca7cce9debb2ae /fs/btrfs/disk-io.h | |
parent | d13603ef6e14a12cd65a6975e8117c0fea7c7ddf (diff) | |
download | linux-fsl-qoriq-20897f5c86b9d2b77baea1d48eda7fa4ac217279.tar.xz |
Btrfs: added helper to create new trees
This creates a brand new tree. Will be used to create
the quota tree.
Signed-off-by: Arne Jansen <sensille@gmx.net>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r-- | fs/btrfs/disk-io.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index 05b3fab..95e147e 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h @@ -89,6 +89,12 @@ int btrfs_add_log_tree(struct btrfs_trans_handle *trans, int btrfs_cleanup_transaction(struct btrfs_root *root); void btrfs_cleanup_one_transaction(struct btrfs_transaction *trans, struct btrfs_root *root); +void btrfs_abort_devices(struct btrfs_root *root); +struct btrfs_root *btrfs_create_tree(struct btrfs_trans_handle *trans, + struct btrfs_fs_info *fs_info, + u64 objectid); +int btree_lock_page_hook(struct page *page, void *data, + void (*flush_fn)(void *)); #ifdef CONFIG_DEBUG_LOCK_ALLOC void btrfs_init_lockdep(void); |