ntb: ntb_perf missing dmaengine_unmap_put
authorDave Jiang <dave.jiang@intel.com>
Mon, 30 Jan 2017 21:21:17 +0000 (14:21 -0700)
committerJon Mason <jdmason@kudzu.us>
Fri, 17 Feb 2017 04:11:26 +0000 (23:11 -0500)
commit9644347c5240d0ee3ba7472ef332aaa4ff4db398
tree811b6daa9db8dac6d29a082d66df7cd3d0d9b39d
parentdd62245e73de9138333cb0e7a42c8bc1215c3ce6
ntb: ntb_perf missing dmaengine_unmap_put

In the normal I/O execution path, ntb_perf is missing a call to
dmaengine_unmap_put() after submission. That causes us to leak
unmap objects.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Fixes: 8a7b6a77 ("ntb: ntb perf tool")
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_perf.c