]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IB] umad: Fix device lifetime problems
authorRoland Dreier <rolandd@cisco.com>
Fri, 28 Oct 2005 22:37:23 +0000 (15:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 28 Oct 2005 22:37:23 +0000 (15:37 -0700)
commita74968f8c3b1166cfe0942901b56165f06ab6f60
tree8b6bfdad7c5a56186bb84a8f282270998f64db0f
parent1993d683f39f77ddb46a662d7146247877d50b8f
[IB] umad: Fix device lifetime problems

Move ib_umad module to using cdev_alloc() and class_device_create() so
that we can handle device lifetime properly.  Now we can make sure we
keep all of our data structures around until the last way to reach
them is gone.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/user_mad.c