diff options
author | Dan Williams | 2016-03-06 15:20:51 -0800 |
---|---|---|
committer | Dan Williams | 2016-03-09 15:12:41 -0800 |
commit | b5ebc8ec693281c3c1efff7459a069cbd8b9a149 (patch) | |
tree | 92bc9801d0107bdc3aa88a62bfa2cbc24582cd11 /lib | |
parent | d4f323672aa63713b7ca26da418f66cc30d3a41a (diff) |
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 'lib')
0 files changed, 0 insertions, 0 deletions