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/fsck.c | |
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/fsck.c')
-rw-r--r-- | fs/bcachefs/fsck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fsck.c b/fs/bcachefs/fsck.c index f89d1029366b..796e1a8447d6 100644 --- a/fs/bcachefs/fsck.c +++ b/fs/bcachefs/fsck.c @@ -1186,7 +1186,7 @@ static int overlapping_extents_found(struct btree_trans *trans, swap(k1, k2); } - trans->extra_journal_res += bch2_bkey_sectors_compressed(k2); + trans->extra_disk_res += bch2_bkey_sectors_compressed(k2); ret = bch2_trans_update_extent_overwrite(trans, old_iter, BTREE_UPDATE_INTERNAL_SNAPSHOT_NODE, |