commit fc33091f7660c59e97c3e41cde1950254d51f565 Author: François Tigeot <[email protected]> Date: Mon Oct 7 07:33:21 2013 +0200
idr: Simplify idr_grow()
Make sure to only allocate powers of two descriptor numbers
and not weird values such as 1027
Summary of changes:
sys/libkern/idr.c | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fc33091f7660c59e97c3e41cde1950254d51f565
--
DragonFly BSD source repository
