commit | d29cee120eb890027c69f5fe7cce8bd6a663900a | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Thu Mar 17 20:08:28 2016 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Fri Apr 22 12:26:22 2016 -0700 |
tree | d427aa25124dc9a83002432d92d8063874c7b5a8 | |
parent | e32bc729a3a486e20443db3379ecf67240b20616 [diff] |
libnvdimm, blk: 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>