diff options
author | Shamir Rabinovitch | 2019-03-31 18:10:04 +0200 |
---|---|---|
committer | Jason Gunthorpe | 2019-04-01 19:55:36 +0200 |
commit | a6a3797df2741aa81f33fe48f609247dba98f3f7 (patch) | |
tree | 6f68ef594dec90b76928c7be5e1c60bed326c738 /drivers/infiniband/core/uverbs_std_types_dm.c | |
parent | IB: ucontext should be set properly for all cmd & ioctl paths (diff) | |
download | kernel-qcow2-linux-a6a3797df2741aa81f33fe48f609247dba98f3f7.tar.gz kernel-qcow2-linux-a6a3797df2741aa81f33fe48f609247dba98f3f7.tar.xz kernel-qcow2-linux-a6a3797df2741aa81f33fe48f609247dba98f3f7.zip |
IB: Pass uverbs_attr_bundle down uobject destroy path
Pass uverbs_attr_bundle down the uobject destroy path. The next patch will
use this to eliminate the dependecy of the drivers in ib_x->uobject
pointers.
Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_std_types_dm.c')
-rw-r--r-- | drivers/infiniband/core/uverbs_std_types_dm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/core/uverbs_std_types_dm.c b/drivers/infiniband/core/uverbs_std_types_dm.c index de3f04a4398c..50d71522e1cd 100644 --- a/drivers/infiniband/core/uverbs_std_types_dm.c +++ b/drivers/infiniband/core/uverbs_std_types_dm.c @@ -35,7 +35,8 @@ #include <rdma/uverbs_std_types.h> static int uverbs_free_dm(struct ib_uobject *uobject, - enum rdma_remove_reason why) + enum rdma_remove_reason why, + struct uverbs_attr_bundle *attrs) { struct ib_dm *dm = uobject->object; int ret; |