Re: [PATCH 07/13] exfat: add bitmap operations

From: Markus Elfring
Date: Sun Nov 17 2019 - 10:01:35 EST


â
> +++ b/fs/exfat/balloc.c
â
+int exfat_count_used_clusters(struct super_block *sb, unsigned int *ret_count)
+{
â
+ /* FIXME : abnormal bitmap count should be handled as more smart */
+ if (total_clus < count)
+ count = total_clus;

Would you like to improve any implementation details according to this comment?

Regards,
Markus