IB/cm: Convert to using idr_alloc_cyclic()
authorZhao Hongjiang <zhaohongjiang@huawei.com>
Fri, 15 Nov 2013 22:16:37 +0000 (14:16 -0800)
committerRoland Dreier <roland@purestorage.com>
Sat, 16 Nov 2013 18:30:42 +0000 (10:30 -0800)
commitab626d1a68d1aee19a5c7d889b9fbeace6a92b41
treed893382d94274f51ff6b2bc673440fe46af973b4
parent1c636f801615bdfc9b1d46904e8258c7a025670b
IB/cm: Convert to using idr_alloc_cyclic()

Commit 3e6628c4b347 ("idr: introduce idr_alloc_cyclic()") adds a new
idr_alloc_cyclic() routine and converts several of these users to it.
This is just a missed one - add it.

Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/cm.c