Applied, thanks!

Milos Nikic, le ven. 25 sept. 2026 14:26:35 -0700, a ecrit:
> ---
>  ext2fs/ialloc.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/ext2fs/ialloc.c b/ext2fs/ialloc.c
> index 7be8a15b8..438de8089 100644
> --- a/ext2fs/ialloc.c
> +++ b/ext2fs/ialloc.c
> @@ -407,18 +407,16 @@ ext2_check_inodes_bitmap (void)
>  {
>    int i;
>    struct ext2_group_desc *gdp;
> -  unsigned long desc_count, bitmap_count, x;
> +  unsigned long bitmap_count, x;
>  
>    pthread_spin_lock (&global_lock);
>  
> -  desc_count = 0;
>    bitmap_count = 0;
>    gdp = NULL;
>    for (i = 0; i < groups_count; i++)
>      {
>        void *bh;
>        gdp = group_desc (i);
> -      desc_count += le16toh (gdp->bg_free_inodes_count);
>        bh = disk_cache_block_ref (le32toh (gdp->bg_inode_bitmap));
>        x = count_free (bh, le32toh (sblock->s_inodes_per_group) / 8);
>        disk_cache_block_deref (bh);
> -- 
> 2.55.0
> 
> 

-- 
Samuel
Now I know someone out there is going to claim, "Well then, UNIX is intuitive,
because you only need to learn 5000 commands, and then everything else follows
from that! Har har har!"
(Andy Bates in comp.os.linux.misc, on "intuitive interfaces", slightly
defending Macs.)

Reply via email to