mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 12:03:54 +02:00
bcachefs: remove redundant condition from data_update_index_update
Signed-off-by: Daniel Hill <daniel@gluo.nz> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
a79e1b6dea
commit
21e07cc966
|
|
@ -314,7 +314,7 @@ static int __bch2_data_update_index_update(struct btree_trans *trans,
|
|||
}
|
||||
continue;
|
||||
nowork:
|
||||
if (m->stats && m->stats) {
|
||||
if (m->stats) {
|
||||
BUG_ON(k.k->p.offset <= iter.pos.offset);
|
||||
atomic64_inc(&m->stats->keys_raced);
|
||||
atomic64_add(k.k->p.offset - iter.pos.offset,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user