sctp: convert to idr_alloc()
commit94960e8c2e69d1e4c01c10c7b00bc0f7eba49fa1
authorTejun Heo <tj@kernel.org>
Thu, 28 Feb 2013 01:05:00 +0000 (27 17:05 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Feb 2013 03:10:20 +0000 (27 19:10 -0800)
treea5b5cedf37c74644277c86d3f6e2514920ecde24
parent9475af6e44d2c17583243c253e2464467b52fa50
sctp: convert to idr_alloc()

Convert to the much saner new idr interface.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Cc: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/sctp/associola.c