bcachefs: remove extraneous ; after statements
PATCH 1/1 bcachefs: remove extraneous ; after statements
From: Anindya Sundar Gayen <[email protected]>
There are a couple of statements with two following semicolons, replace these with just one semicolon.
Signed-off-by Anindya Sundar Gayen <[email protected]>
--- fs/bcachefs/btree_cache.c | 2 +- fs/bcachefs/btree_io.c | 2 +- fs/bcachefs/btree_iter.c | 2 +- fs/bcachefs/btree_types.h | 2 +- fs/bcachefs/fast_list.h | 2 +- fs/bcachefs/journal.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
fs/bcachefs/btree_cache.c +1 -1
@@ -517,7 +517,7 @@ static unsigned long bch2_btree_cache_scan(struct shrinker *shrink,if (btree_node_accessed (b)) {clear_btree_node_accessed (b); bc->not_freed[BCH_BTREE_CACHE_NOT_FREED_access_bit]++; - --touched;; + --touched; }else if (!btree_node_reclaim (c, b)) {__bch2_btree_node_hash_remove (bc, b);__btree_node_data_free (b);
fs/bcachefs/btree_io.c +1 -1
@@ -2020,7 +2020,7 @@ static void btree_node_scrub_work(struct work_struct *work) }printbuf_exit (&err); -bch2_bkey_buf_exit (&scrub->key, c);; +bch2_bkey_buf_exit (&scrub->key, c);btree_bounce_free (c, c->opts.btree_node_size, scrub->used_mempool, scrub->buf);enumerated_ref_put (&scrub->ca->io_ref[READ ], BCH_DEV_READ_REF_btree_node_scrub);kfree (scrub);
fs/bcachefs/btree_iter.c +1 -1
@@ -2746,7 +2746,7 @@ struct bkey_s_c bch2_btree_iter_peek_prev_min(struct btree_trans *trans, struct }/* Extents can straddle iter->pos: */ - iter->pos =bpos_min (iter->pos, k.k->p);; + iter->pos =bpos_min (iter->pos, k.k->p);if (iter->flags & BTREE_ITER_filter_snapshots) iter->pos.snapshot = iter->snapshot;
fs/bcachefs/btree_types.h +1 -1
@@ -483,7 +483,7 @@ typedef DARRAY(struct trans_kmalloc_trace) darray_trans_kmalloc_trace;struct btree_trans_subbuf {u16 base;u16 u64s; - u16 size;; +u16 size; };struct btree_trans {
fs/bcachefs/fast_list.h +1 -1
@@ -9,7 +9,7 @@ struct fast_list_pcpu;struct fast_list {GENRADIX (void *) items; - struct ida slots_allocated;; +struct ida slots_allocated;struct fast_list_pcpu __percpu *buffer; };
fs/bcachefs/journal.c +1 -1
@@ -1321,7 +1321,7 @@ int bch2_dev_journal_bucket_delete(struct bch_dev *ca, u64 b)return -EINVAL ; } -u64 *new_buckets =kcalloc (ja->nr,sizeof (u64),GFP_KERNEL );; +u64 *new_buckets =kcalloc (ja->nr,sizeof (u64),GFP_KERNEL );if (!new_buckets)return bch_err_throw (c, ENOMEM_set_nr_journal_buckets);
Signature · 1 line
2.43.0
Kent Overstreet
AppliedQuoted 6 lines · On Tue, Jul 22, 2025 at 11:53:10PM +0530, [email protected] wrote:
From: Anindya Sundar Gayen <[email protected]>
There are a couple of statements with two following semicolons, replace these with just one semicolon.
Signed-off-by Anindya Sundar Gayen <[email protected]>
Applied