RDMA/core: Remove ib_alloc_mr_user function
authorGal Pressman <galpress@amazon.com>
Mon, 6 Jul 2020 12:03:42 +0000 (15:03 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 6 Jul 2020 22:25:53 +0000 (19:25 -0300)
commitb64b74b1d51cce8c9496b6a071c1d59786c2144d
tree6fab4601d7a09d8261a1357c0df82cc05b69ce89
parentc5f42b21051517a2070a67d21be8e423d5fdf0d9
RDMA/core: Remove ib_alloc_mr_user function

Allocating an MR flow can only be initiated by kernel users, and not from
userspace. As a result, the udata parameter is always being passed as
NULL. Rename ib_alloc_mr_user function to ib_alloc_mr and remove the udata
parameter.

Link: https://lore.kernel.org/r/20200706120343.10816-3-galpress@amazon.com
Signed-off-by: Gal Pressman <galpress@amazon.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h