summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/uverbs_ioctl.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-07-10 20:55:22 -0600
committerJason Gunthorpe <jgg@mellanox.com>2018-07-25 14:21:22 -0600
commitc36ee46dafaea1bb525c4e34d3e35dd9a6768a47 (patch)
tree7f58f94ad65046eb974c2bfdf27e23f478f75b4b /drivers/infiniband/core/uverbs_ioctl.c
parentaba94548c9e49939fafc92bb406a7f8e7ed87643 (diff)
downloadlwn-c36ee46dafaea1bb525c4e34d3e35dd9a6768a47.tar.gz
lwn-c36ee46dafaea1bb525c4e34d3e35dd9a6768a47.zip
IB/mlx5: Use the ucontext from the uobj, not the file
This approach matches the standard flow of the typical write method that relies on the HW object to store the device and the uobject to access the ucontext. Avoids the use of the devx_ufile2uctx in several places will make revising the semantics of ib_uverbs_get_ucontext() in the next patch simpler. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_ioctl.c')
0 files changed, 0 insertions, 0 deletions