summaryrefslogtreecommitdiff
path: root/transaction.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-06-08 15:47:53 +0300
committerDavid Sterba <dsterba@suse.com>2018-08-06 15:02:06 +0200
commit677acdf53484a573a6c5860e0e27db51b2d00247 (patch)
tree30113d60478641b42eb7533f94766d59e1aa018b /transaction.h
parentf23d10d9c052fcc1c1485392edfe19ebf14c634f (diff)
btrfs-progs: Add boolean to signal whether we are re-initing extent tree
Add a boolean to record whether the extent tree is being re-initialised in the current transaction. This is going to be needed by the delayed refs code. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'transaction.h')
-rw-r--r--transaction.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/transaction.h b/transaction.h
index 470ee3de..750e329e 100644
--- a/transaction.h
+++ b/transaction.h
@@ -27,6 +27,7 @@ struct btrfs_trans_handle {
u64 transid;
u64 alloc_exclude_start;
u64 alloc_exclude_nr;
+ bool reinit_extent_tree;
unsigned long blocks_reserved;
unsigned long blocks_used;
struct btrfs_block_group_cache *block_group;