IB/uverbs: Replace ib_ucontext with ib_uverbs_file in core function calls
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 4 Jul 2018 08:32:08 +0000 (11:32 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 9 Jul 2018 17:26:17 +0000 (11:26 -0600)
commit6ef1c82821b2ae9bfa26fe65e6f0a66dfd79b7d7
tree7025f260eec5f1fdb10baa1e24e27cd8052bcd19
parent6a5e9c88419828a487204e35291ae4459697a9bd
IB/uverbs: Replace ib_ucontext with ib_uverbs_file in core function calls

The correct handle to refer to the idr/etc is ib_uverbs_file, revise all
the core APIs to use this instead. The user API are left as wrappers
that automatically convert a ucontext to a ufile for now.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/rdma_core.c
drivers/infiniband/core/rdma_core.h
drivers/infiniband/core/uverbs_ioctl.c
drivers/infiniband/core/uverbs_main.c
include/rdma/uverbs_std_types.h
include/rdma/uverbs_types.h