]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IB] uverbs: Fix device lifetime problems
authorRoland Dreier <rolandd@cisco.com>
Fri, 28 Oct 2005 22:38:26 +0000 (15:38 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 28 Oct 2005 22:38:26 +0000 (15:38 -0700)
commit70a30e16a8a9d22396a4d1e96af86e43594df584
tree0d8582567c62f7929620ec03128c79f9d8c65a58
parenta74968f8c3b1166cfe0942901b56165f06ab6f60
[IB] uverbs: Fix device lifetime problems

Move ib_uverbs 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/uverbs.h
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_main.c