]> git.baikalelectronics.ru Git - kernel.git/commit
IB/uverbs: Remove rdma_explicit_destroy() from the ioctl methods
authorJason Gunthorpe <jgg@ziepe.ca>
Thu, 26 Jul 2018 21:57:56 +0000 (15:57 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 1 Aug 2018 20:55:37 +0000 (14:55 -0600)
commit087a7b82d6a8e907211a4e89d1ca2a927923b7b1
tree0654aa90c396feea48cc5895d554c181c3226178
parentebca6eb67c390f29295aa1b7e1753eb6d30f6e00
IB/uverbs: Remove rdma_explicit_destroy() from the ioctl methods

The core code will destroy the HW object on behalf of the method, if the
method provides an implementation it must simply copy data from the stub
uobj into the response. Destroy methods cannot touch the HW object.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/rdma_core.c
drivers/infiniband/core/uverbs_ioctl.c
drivers/infiniband/core/uverbs_std_types_cq.c