Re: [PATCH] Re: idr in Samba4

From: tridge
Date: Fri Oct 22 2004 - 01:31:44 EST


Jim,

> The attached patch against linux-2.6.9 should do the job without
> additional overhead. Andrew, I hope you will add this patch to
> your tree.

Thanks, that looks good, and it now passes my randomized testsuite.

If you are interested, my test code is at:

http://samba.org/ftp/unpacked/junkcode/idtree/

Note that I made idr_remove() and sub_remove() return an int for
success/failure, as that was more useful for my code, and it also
means we skip the layer free logic on remove failure (not that it does
any harm, just seems a bit of a loose end).

Cheers, Tridge
-
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/