diff options
author | Dan Williams <[email protected]> | 2018-10-04 16:32:08 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2018-10-09 00:04:56 -0700 |
commit | 91ed7ac444ef749603a95629a5ec483988c4f14b (patch) | |
tree | 84101eb63683e8848b25309186a8338bc789f2e9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 55781b66936ee4e15cdd6d591b26662ab9d2d847 (diff) |
libnvdimm, pmem: Fix badblocks population for 'raw' namespaces
The driver is only initializing bb_res in the devm_memremap_pages()
paths, but the raw namespace case is passing an uninitialized bb_res to
nvdimm_badblocks_populate().
Fixes: e8d513483300 ("memremap: change devm_memremap_pages interface...")
Cc: <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Reported-by: Jacek Zloch <[email protected]>
Reported-by: Krzysztof Rusocki <[email protected]>
Reviewed-by: Vishal Verma <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions