idr: deprecate idr_pre_get() and idr_get_new[_above]()
authorTejun Heo <tj@kernel.org>
Wed, 13 Mar 2013 21:59:42 +0000 (14:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Mar 2013 22:21:47 +0000 (15:21 -0700)
commitc8615d3716fe327c2540cf514a34b227dc9b39e8
tree2ad264bec1623c7b0cf43998b74654dd627a6e24
parent8e467e855ca5ed2921f290655f96ac40d5dc571c
idr: deprecate idr_pre_get() and idr_get_new[_above]()

Now that all in-kernel users are converted to ues the new alloc
interface, mark the old interface deprecated.  We should be able to
remove these in a few releases.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/idr.h
lib/idr.c