OSDN Git Service

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)
commitaa72c9a5f986444f5e245767402ed1f3066fca2c
tree0654aa90c396feea48cc5895d554c181c3226178
parent26e551c5aec572442c4ad7109ff4350f427cd39d
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