summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-01-05 08:50:23 +0100
committerDan Williams <dan.j.williams@intel.com>2016-01-09 17:39:04 +0100
commit16263ff6c72eb4cc00aa287230144dda12ccad12 (patch)
treeb92a29f5508d3dd5f494e4399bf0be799b93e319 /block/blk-core.c
parentblock: clarify badblocks lifetime (diff)
downloadlinux-16263ff6c72eb4cc00aa287230144dda12ccad12.tar.xz
linux-16263ff6c72eb4cc00aa287230144dda12ccad12.zip
block, badblocks: introduce devm_init_badblocks
Provide a devres interface for initializing a badblocks instance. The pmem driver has several scenarios where it will be beneficial to have this structure automatically freed when the device is disabled / fails probe. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions