diff options
author | David Sterba <dsterba@suse.com> | 2017-08-28 17:39:26 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-09-08 16:15:05 +0200 |
commit | f2b0cbe8e83229512a6a0583f847e8e17e4cd0eb (patch) | |
tree | 3e50862a343b70bc641f96c4a92af1498e3a527c /transaction.h | |
parent | 37c271b216b73109879cfc9fbe7146ab9b52fa0c (diff) |
btrfs-progs: move transaction code out of disk-io
Temporarily export the low-level helpers.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'transaction.h')
-rw-r--r-- | transaction.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/transaction.h b/transaction.h index 7f6be051..fe6704e6 100644 --- a/transaction.h +++ b/transaction.h @@ -33,5 +33,11 @@ struct btrfs_trans_handle { struct btrfs_trans_handle* btrfs_start_transaction(struct btrfs_root *root, int num_blocks); +int __commit_transaction(struct btrfs_trans_handle *trans, + struct btrfs_root *root); +int commit_tree_roots(struct btrfs_trans_handle *trans, + struct btrfs_fs_info *fs_info); +int btrfs_commit_transaction(struct btrfs_trans_handle *trans, + struct btrfs_root *root); #endif |