diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-03-06 23:20:51 (GMT) |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-03-09 23:12:41 (GMT) |
commit | b5ebc8ec693281c3c1efff7459a069cbd8b9a149 (patch) | |
tree | 92bc9801d0107bdc3aa88a62bfa2cbc24582cd11 /drivers/nvdimm/nd.h | |
parent | d4f323672aa63713b7ca26da418f66cc30d3a41a (diff) | |
download | linux-b5ebc8ec693281c3c1efff7459a069cbd8b9a149.tar.xz |
libnvdimm, pmem: fix kmap_atomic() leak in error path
When we enounter a bad block we need to kunmap_atomic() before
returning.
Cc: <stable@vger.kernel.org>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/nd.h')
0 files changed, 0 insertions, 0 deletions