From: John Hubbard <[email protected]> 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 <[email protected]> Cc: Ira Weiny <[email protected]> Cc: Jason Gunthorpe <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Doug Ledford <[email protected]> Cc: [email protected] Cc: [email protected] 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

