RDMA: Add error handling to ib_core_init()
authorNir Muchtar <nirm@voltaire.com>
Fri, 20 May 2011 18:46:10 +0000 (11:46 -0700)
committerRoland Dreier <roland@purestorage.com>
Fri, 20 May 2011 18:46:10 +0000 (11:46 -0700)
commitfd75c789abf7948e16fe50917a6acb809927719a
treee85ee47f2a5575e2f4f9398da43d9ca82fc275f9
parent257313b2a87795e07a0bdf58d0fffbdba8b31051
RDMA: Add error handling to ib_core_init()

Fail RDMA midlayer initialization if sysfs setup fails.

Signed-off-by: Nir Muchtar <nirm@voltaire.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/device.c