diff options
author | Daniel Hill <daniel@gluo.nz> | 2023-11-27 11:52:33 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 19:47:39 +0300 |
commit | 21e07cc966aab2400144f08eb85cb7f42df923ad (patch) | |
tree | 941aaded6eb623287aa6e5868514f4c1cb5a8227 /fs | |
parent | a79e1b6dea0b98a66dc0d05fd8e470c18b164b52 (diff) | |
download | linux-21e07cc966aab2400144f08eb85cb7f42df923ad.tar.xz |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/bcachefs/data_update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/data_update.c b/fs/bcachefs/data_update.c index 59b558c25977..632e8ed5bbda 100644 --- a/fs/bcachefs/data_update.c +++ b/fs/bcachefs/data_update.c @@ -314,7 +314,7 @@ next: } 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, |