From 355a052647e3a3bab49dfea3f0281f0d5efae4ae Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 28 Aug 2017 17:44:41 +0200 Subject: btrfs-progs: start framework for transaction abort Signed-off-by: David Sterba --- ctree.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ctree.h') diff --git a/ctree.h b/ctree.h index 4ad34f60..2818441f 100644 --- a/ctree.h +++ b/ctree.h @@ -1139,6 +1139,8 @@ struct btrfs_fs_info { unsigned int avoid_sys_chunk_alloc:1; unsigned int finalize_on_close:1; + int transaction_aborted; + int (*free_extent_hook)(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 bytenr, u64 num_bytes, u64 parent, -- cgit v1.2.3