[Ocfs2-tools-devel] [PATCH 06/22] libocfs2: Make ocfs2_init_group_desc aware of discontig group.
Tao Ma
tao.ma at oracle.com
Thu Apr 1 18:56:30 PDT 2010
Hi Joel,
Joel Becker wrote:
> On Fri, Apr 02, 2010 at 08:08:17AM +0800, Tao Ma wrote:
>> check offset(bg_bitmap) + bg_size == offsetof(bg_list)
>> =>
>> check bg_size== OCFS2_MAX_BG_BITMAP_SIZE .
>
> Of course it equals OCFS2_MAX_BG_BITMAP_SIZE. But check against
> the offsets in the code, not against the constant.
why? Some tips to share? :p
Regards,
Tao
More information about the Ocfs2-tools-devel
mailing list