[parted-devel] [PATCH] Fix block number used when checking for state

Jim Meyering jim at meyering.net
Tue Jun 12 18:24:51 UTC 2007


Flavio Leitner <flavio.leitner at gmail.com> wrote:
> The ext2_bread() returns a descriptor containing a
> pointer ->data representing the contents of 1 block.
>
> In ext2_block_relocate_grow(), it reads the block bitmap from
> a group descriptor representing a range of blocks:
>    bh = ext2_bread(fs, EXT2_GROUP_BLOCK_BITMAP(fs->gd[i]));
>
> Then it does:

Thanks for what looks like another fine patch.
As before, would you please give a quick recipe
to reproduce this bug?



More information about the parted-devel mailing list