Re: [PATCH v1 8/9] exfat: support multi-cluster for exfat_map_cluster
From: Chi Zhiling
Date: Tue Dec 30 2025 - 20:52:16 EST
On 12/30/25 17:06, Yuezhang.Mo@xxxxxxxx wrote:
@@ -293,12 +298,14 @@ static int exfat_get_block(struct inode *inode, sector_t iblock,
if (cluster == EXFAT_EOF_CLUSTER)
goto done;
+ if (WARN_ON_ONCE(!count))
+ count = 1;
The count is 0 only if cluster is EXFAT_EOF_CLUSTER.
So this warning never occur, right? If yes, please remove it.
Yes, it's never 0 unless something goes wrong :)
I will remove it in v2.