]> git.karo-electronics.de Git - karo-tx-linux.git/commit
idr: refactor idr_get_new_above()
authorTejun Heo <tj@kernel.org>
Wed, 20 Feb 2013 02:16:09 +0000 (13:16 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:42 +0000 (16:53 +1100)
commitb9dcaff679532c99391add9e538d323463ee51b5
tree69e70a1a9600bfd80f31c64c43e80d891e02edfb
parentc53c46e4b7b7c60e7bef86a1196830b4a1358b88
idr: refactor idr_get_new_above()

Move slot filling to idr_fill_slot() from idr_get_new_above_int() and
make idr_get_new_above() directly call it.  idr_get_new_above_int() is
no longer needed and removed.

This will be used to implement a new ID allocation interface.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/idr.c