diff options
author | 2021-11-29 11:21:35 +0100 | |
---|---|---|
committer | 2021-12-04 08:58:50 -0800 | |
commit | d751939235b9b7bc4af15f90a3e99288a8b844a7 (patch) | |
tree | 1797097e46f8a221f63d5c044ad0fc26574cad70 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dax: Kill DEV_DAX_PMEM_COMPAT (diff) | |
download | wireguard-linux-d751939235b9b7bc4af15f90a3e99288a8b844a7.tar.xz wireguard-linux-d751939235b9b7bc4af15f90a3e99288a8b844a7.zip |
dm: fix alloc_dax error handling in alloc_dev
Make sure ->dax_dev is NULL on error so that the cleanup path doesn't
trip over an ERR_PTR.
Reported-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211129102203.2243509-2-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions