RDMA/core: Set MR type in ib_reg_user_mr
authorMaor Gottlieb <maorg@nvidia.com>
Tue, 18 Jan 2022 07:35:02 +0000 (09:35 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 28 Jan 2022 15:39:28 +0000 (11:39 -0400)
commit32a88d16615c2be295571c29273c4ac94cb75309
tree7b7e1b1e3cd8ab8230e87dd95705fe053aa317c3
parentc1289d5d8502d62e5bc50ff066c9d6daabfc3264
RDMA/core: Set MR type in ib_reg_user_mr

Add missing assignment of MR type to IB_MR_TYPE_USER.

Fixes: 33006bd4f37f ("IB/core: Introduce ib_reg_user_mr")
Link: https://lore.kernel.org/r/be2e91bcd6e52dc36be289ae92f30d3a5cc6dcb1.1642491047.git.leonro@nvidia.com
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/verbs.c