summaryrefslogtreecommitdiffstats
path: root/Documentation/nvdimm
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-06-15 14:59:17 -0700
committerDan Williams <dan.j.williams@intel.com>2016-06-15 14:59:17 -0700
commitf02716db951c5e01acf48df9fe815007674fecff (patch)
tree011a5c22e8ff2c8fa10379c1a7ec84e1f54aae3e /Documentation/nvdimm
parent5edb56491d4812c42175980759da53388e5d86f5 (diff)
downloadlinux-stable-f02716db951c5e01acf48df9fe815007674fecff.tar.gz
linux-stable-f02716db951c5e01acf48df9fe815007674fecff.tar.bz2
linux-stable-f02716db951c5e01acf48df9fe815007674fecff.zip
libnvdimm: use devm_add_action_or_reset()
Clean up needless calls to the action routine by letting devm_add_action_or_reset() call it automatically. This does cause the disk to registered and immediately unregistered when a memory allocation fails, but the block layer should be prepared for such an event. Reported-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'Documentation/nvdimm')
0 files changed, 0 insertions, 0 deletions