From: John Hubbard <jhubb...@nvidia.com>

Hi,

Ira Weiny alerted me to a couple of places where I'd missed a change from
put_page() to put_user_page(), in my pending patchsets. But when I
attempted to dive more deeply into that code, I ran into a bug in the
cleanup code. Leon Romanovsky has confirmed that and requested this
simplified patch to fix it, so here it is.

Changes since v2:

1) Removed the part of the patch that tried to delete "dead code",
because that code was dealing with huge pages.

2) Reverted the pr_*() line shortening, so as to keep this to only
the minimal bug fix required.

3) Rebased to today's linux.git.

Cc: Leon Romanovsky <l...@kernel.org>
Cc: Ira Weiny <ira.we...@intel.com>
Cc: Jason Gunthorpe <j...@ziepe.ca>
Cc: Andrew Morton <a...@linux-foundation.org>
Cc: Doug Ledford <dledf...@redhat.com>
Cc: linux-r...@vger.kernel.org
Cc: linux...@kvack.org

John Hubbard (1):
  RDMA/umem: minor bug fix in error handling path

 drivers/infiniband/core/umem_odp.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

-- 
2.21.0

Reply via email to