diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-11 02:31:12 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:44 -0500 |
commit | 6474b706108bac9e531a71ddeb8150f8fa17163c (patch) | |
tree | a588b981ba8fe155d77377f83f7c4d811e617e76 /fs/bcachefs/btree_update.h | |
parent | 398c98347d464f7675216c5ea974a82bcdb2bef9 (diff) | |
download | linux-6474b706108bac9e531a71ddeb8150f8fa17163c.tar.gz linux-6474b706108bac9e531a71ddeb8150f8fa17163c.tar.bz2 linux-6474b706108bac9e531a71ddeb8150f8fa17163c.zip |
bcachefs: Clean up btree_trans
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update.h')
-rw-r--r-- | fs/bcachefs/btree_update.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_update.h b/fs/bcachefs/btree_update.h index fbb83e1aa2b2..b9382b7b288b 100644 --- a/fs/bcachefs/btree_update.h +++ b/fs/bcachefs/btree_update.h @@ -196,10 +196,10 @@ static inline void bch2_trans_reset_updates(struct btree_trans *trans) trans_for_each_update(trans, i) bch2_path_put(trans, i->path, true); - trans->extra_journal_res = 0; trans->nr_updates = 0; trans->journal_entries_u64s = 0; trans->hooks = NULL; + trans->extra_disk_res = 0; if (trans->fs_usage_deltas) { trans->fs_usage_deltas->used = 0; |