Re: [Ext2-devel] Re: [RFC] ext3/jbd race: releasing in-usejournal_heads

From: Andrew Morton
Date: Tue Mar 08 2005 - 02:39:15 EST


Suparna Bhattacharya <suparna@xxxxxxxxxx> wrote:
>
> (let me know if the interface in the patch
> I just posted seems like the right direction to use when we go for the
> cleanup)

Well what are the semantics? Pass in an inclusive max_index and the gang
lookup functions terminate when they hit an item whose index is greater
than max_index? And return the number of items thus found?

Seems sensible, and all the comparisons do the right thing if max_index = -1.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/