[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240910004903.26693-1-yang.lee@linux.alibaba.com>
Date: Tue, 10 Sep 2024 08:49:03 +0800
From: Yang Li <yang.lee@...ux.alibaba.com>
To: kent.overstreet@...ux.dev
Cc: linux-bcachefs@...r.kernel.org,
linux-kernel@...r.kernel.org,
Yang Li <yang.lee@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH -next] bcachefs: Remove unneeded semicolon
./fs/bcachefs/btree_cache.c:502:13-14: Unneeded semicolon
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=10821
Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
---
fs/bcachefs/btree_cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/bcachefs/btree_cache.c b/fs/bcachefs/btree_cache.c
index 7b951b273306..bfd4cec70744 100644
--- a/fs/bcachefs/btree_cache.c
+++ b/fs/bcachefs/btree_cache.c
@@ -499,7 +499,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, true)) {
bch2_btree_node_hash_remove(bc, b);
--
2.32.0.3.g01195cf9f
Powered by blists - more mailing lists