idr: Simplify idr_grow()
authorFrançois Tigeot <ftigeot@wolfpond.org>
Mon, 7 Oct 2013 05:33:21 +0000 (07:33 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Mon, 7 Oct 2013 05:33:24 +0000 (07:33 +0200)
commitfc33091f7660c59e97c3e41cde1950254d51f565
tree3da142738e16c3a05778b3c08424899a02d93ea8
parent1d4e75152b62606d53829dce89faa452e13f977c
idr: Simplify idr_grow()

Make sure to only allocate powers of two descriptor numbers
and not weird values such as 1027
sys/libkern/idr.c