Re: [PATCH] btrfs-convert: Iterate correctly using libext2fs functions

Yan Zheng
Sun, 27 Jul 2008 11:02:03 -0000

2008/7/23 Radoslaw Szkodzinski
<astralstorm@gen2.org>:
> Please CC me with comments, as I'm not yet subscribed to the list.
>
> This fairly trivial patch fixes a compile error I stumbled upon. The
> error only happens with new e2fsprogs, as inode_map has become private.
> Ignoring the warning would most likely cause a segfault.
>
> # HG changeset patch
> # User Radosław Szkodziński <astralstorm@gen2.org>
> # Date 1216744630 -7200
> # Node ID 9725a82ac98f460f2a7d4e211cfe4ec88aed4b8a
> # Parent  1aa4b32e3efd452531cb0b883edfcc3761487fca
> btrfs-convert: Iterate correctly using libext2fs functions
>
> This patch corrects open-coded inode_map iteration, which happens to be
> illegal in new libext2fs due to inode_map being private, causing warning,
> which becomes a compile error.
>

Sorry for the delay. I tried this patch today, it works very well. Thanks.

YZ