diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-03-17 20:24:31 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-04-22 12:26:23 -0700 |
commit | 030b99e39cad33b104474fbe688e0eb23d8209b4 (patch) | |
tree | edbcc412b1dcedd8abe08535686931e0c7868b8f /tools/testing/nvdimm/test/iomap.c | |
parent | libnvdimm, blk: move i/o infrastructure to nd_namespace_blk (diff) | |
download | linux-dev-030b99e39cad33b104474fbe688e0eb23d8209b4.tar.xz linux-dev-030b99e39cad33b104474fbe688e0eb23d8209b4.zip |
libnvdimm, pmem: use devm_add_action to release bdev resources
Register a callback to clean up the request_queue and put the gendisk at
driver disable time.
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing/nvdimm/test/iomap.c')
0 files changed, 0 insertions, 0 deletions