]> Git Repo - linux.git/commit - drivers/nvdimm/blk.c
libnvdimm, blk: use devm_add_action to release bdev resources
authorDan Williams <[email protected]>
Fri, 18 Mar 2016 03:08:28 +0000 (20:08 -0700)
committerDan Williams <[email protected]>
Fri, 22 Apr 2016 19:26:22 +0000 (12:26 -0700)
commitd29cee120eb890027c69f5fe7cce8bd6a663900a
treed427aa25124dc9a83002432d92d8063874c7b5a8
parente32bc729a3a486e20443db3379ecf67240b20616
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 <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
drivers/nvdimm/blk.c
This page took 0.040734 seconds and 4 git commands to generate.