Re: [PATCH] LogFS take three

Jan Engelhardt
2007-05-17T17:42:33Z

On May 16 2007 02:06, Jörn Engel wrote:
>
>> > +/* memtree.c */
>> > +void btree_init(struct btree_head *head);
>> > +void *btree_lookup(struct btree_head *head, long val);
>> > +int btree_insert(struct btree_head *head, long val, void *ptr);
>> > +int btree_remove(struct btree_head *head, long val);
>>
>> These names are too generic. If we later add a btree library: blam.
>
>My plan was to move this code to lib/ sooner or later. If you consider
>it useful in its current state, I can do it immediatly. And if someone
>else merged a superior btree library I'd happily remove mine and use the
>new one instead.
>
>Opinions?

Why would we need another btree, when there is lib/rbtree.c?
Or does yours do something fundamentally different?

Jan
--