RDMA/umem: Restore lockdep check while downgrading lock
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 3 Sep 2018 17:17:31 +0000 (20:17 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 6 Sep 2018 20:26:51 +0000 (14:26 -0600)
commit50704e039ab1d7e6c035d8c27a0b314929bfbe10
tree60291667d43f055c39a1b3e69fb7fa3db842f1f8
parente1f540c3ed0e9634d0f8c4600f3c85df8aff4ae2
RDMA/umem: Restore lockdep check while downgrading lock

Lockdep engine handles correctly downgrade of locks and it simply
incorrect to disable lockdep checks prior to calling mmu_notifier.

Remove lockdep_off and ensure locks correctness.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/umem_odp.c