mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 20:30:32 -04: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:
committed by
Kent Overstreet
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,
|
||||
|
||||
Reference in New Issue
Block a user