Artemy Kovalyov edf1a84fe3 IB/umem: Fix use of npages/nmap fields
In ib_umem structure npages holds original number of sg entries, while
nmap is number of DMA blocks returned by dma_map_sg.

Fixes: c5d76f130b28 ('IB/core: Add umem function to read data from user-space')
Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2017-12-18 15:37:06 -07:00
..
2015-06-12 14:49:18 -04:00
2015-05-05 13:21:27 -04:00
2017-12-18 15:37:06 -07:00
2016-01-19 15:25:45 -05:00
2017-11-15 14:54:53 -08:00
2016-05-13 13:37:18 -04:00
2016-03-03 10:20:25 -05:00
2017-08-31 08:35:09 -04:00
2016-03-03 10:20:25 -05:00
2017-12-18 15:37:06 -07:00
2017-12-11 16:19:43 -07:00