tools/testing/libnvdimm: cleanup mock resource lookup
authorDan Williams <dan.j.williams@intel.com>
Fri, 11 Dec 2015 19:20:16 +0000 (11:20 -0800)
committerDan Williams <dan.j.williams@intel.com>
Thu, 24 Dec 2015 20:20:19 +0000 (12:20 -0800)
commit9bfa84969dd52bf0aa635c4c8a67c81d75ffca37
treebfc5ce7741c987a031530a5a2e8a7a4b5a3cb628
parent3fa962686568a1617d174e3d2f5d522e963077c5
tools/testing/libnvdimm: cleanup mock resource lookup

Push the locking around get_nfit_res() into get_nfit_res().

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/nvdimm/test/iomap.c