]> git.karo-electronics.de Git - linux-beck.git/commit
IB/cm: Destroy idr as part of the module init error flow
authorDotan Barak <dotanb@dev.mellanox.co.il>
Wed, 11 Jul 2012 15:39:31 +0000 (15:39 +0000)
committerRoland Dreier <roland@purestorage.com>
Wed, 11 Jul 2012 16:22:58 +0000 (09:22 -0700)
commit87d4abda83a125dec65181a6ecce3035db76d46a
tree81a69674623e3dd7ad5d7e0aeba3a27b0bad9ce0
parentf457ce471c522cadf697b873e2cf46e458e90bef
IB/cm: Destroy idr as part of the module init error flow

Clean the idr as part of the error flow since it is a resource too.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/cm.c