Applied, thanks!

Milos Nikic, le ven. 25 sept. 2026 20:18:34 -0700, a ecrit:
> ---
>  ext2fs/balloc.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/ext2fs/balloc.c b/ext2fs/balloc.c
> index cdaad39d8..cc00fe4cc 100644
> --- a/ext2fs/balloc.c
> +++ b/ext2fs/balloc.c
> @@ -459,14 +459,13 @@ void
>  ext2_check_blocks_bitmap (void)
>  {
>    unsigned char *bh;
> -  unsigned long desc_count, bitmap_count, x;
> +  unsigned long bitmap_count, x;
>    unsigned long desc_blocks;
>    struct ext2_group_desc *gdp;
>    int i, j;
>  
>    pthread_spin_lock (&global_lock);
>  
> -  desc_count = 0;
>    bitmap_count = 0;
>    gdp = NULL;
>  
> @@ -494,7 +493,6 @@ ext2_check_blocks_bitmap (void)
>       }
>  
>        gdp = group_desc (i);
> -      desc_count += le16toh (gdp->bg_free_blocks_count);
>        bh = disk_cache_block_ref (le32toh (gdp->bg_block_bitmap));
>  
>        if (!EXT2_HAS_RO_COMPAT_FEATURE (sblock,
> -- 
> 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