IB: When attrs.udata/ufile is available use that instead of uobject
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 1 Apr 2019 20:08:24 +0000 (17:08 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 8 Apr 2019 16:05:25 +0000 (13:05 -0300)
commitfeec576a6af299143e40dcfb34b6c5604e4ff397
tree6de5b0eeab5e8ffb12e544fd54a04bf0050cf906
parente79c9c60622a59a814c54a1ee70298afe544441a
IB: When attrs.udata/ufile is available use that instead of uobject

The ucontext and ufile should not be accessed via the uobject, all these
cases have an attrs so use that instead.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/rdma_core.c
drivers/infiniband/core/uverbs_std_types_counters.c
drivers/infiniband/core/uverbs_std_types_cq.c
drivers/infiniband/core/uverbs_std_types_dm.c
drivers/infiniband/core/uverbs_std_types_flow_action.c
include/rdma/uverbs_std_types.h