On Wed, 2019-06-12 at 19:15 +0300, Leon Romanovsky wrote:
On Tue, Jun 11, 2019 at 01:09:51PM -0300, Jason Gunthorpe wrote:
From: Jason Gunthorpe jgg@mellanox.com
If invalidate_start returns with EAGAIN then the umem_rwsem needs to be unlocked as no invalidate_end will be called.
Cc: stable@vger.kernel.org Fixes: ca748c39ea3f ("RDMA/umem: Get rid of per_mm-
notifier_count")
Signed-off-by: Jason Gunthorpe jgg@mellanox.com
drivers/infiniband/core/umem_odp.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-)
Thanks, Reviewed-by: Leon Romanovsky leonro@mellanox.com
Thanks, applied to for-next.