Patch1 fix a bug caused by overflow. Patch2,3 add checks for unallocated_id. Patch4 changes to returned error code Patch5-7 cleanup.
All patches are acked by Tejun. Thanks Lai Lai Jiangshan (7): idr: fix overflow bug during maximum ID calculation at maximum height idr: fix unexpected ID-removal when idr_remove(unallocated_id) idr: fix NULL pointer dereference when ida_remove(unallocated_id) idr: fix idr_replace()'s returned error code idr: don't need to shink the free list when idr_remove() idr: reduce the unneeded check in free_layer() idr: remove useless #ifndef TEST lib/idr.c | 42 +++++++++++++++--------------------------- 1 files changed, 15 insertions(+), 27 deletions(-) -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/