]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/rdma/ib_verbs.h
IB/core: Change idr objects to use the new schema
[karo-tx-linux.git] / include / rdma / ib_verbs.h
index d3efd22943e962bd7f5b2f5da3a6c4b4283cfd0a..2e8f661c900ad75df66a170b34aed403731e70b9 100644 (file)
@@ -1377,17 +1377,6 @@ struct ib_rdmacg_object {
 struct ib_ucontext {
        struct ib_device       *device;
        struct ib_uverbs_file  *ufile;
-       struct list_head        pd_list;
-       struct list_head        mr_list;
-       struct list_head        mw_list;
-       struct list_head        cq_list;
-       struct list_head        qp_list;
-       struct list_head        srq_list;
-       struct list_head        ah_list;
-       struct list_head        xrcd_list;
-       struct list_head        rule_list;
-       struct list_head        wq_list;
-       struct list_head        rwq_ind_tbl_list;
        int                     closing;
 
        /* locking the uobjects_list */
@@ -1426,10 +1415,8 @@ struct ib_uobject {
        struct ib_rdmacg_object cg_obj;         /* rdmacg object */
        int                     id;             /* index into kernel idr */
        struct kref             ref;
-       struct rw_semaphore     mutex;          /* protects .live */
        atomic_t                usecnt;         /* protects exclusive access */
        struct rcu_head         rcu;            /* kfree_rcu() overhead */
-       int                     live;
 
        const struct uverbs_obj_type *type;
 };