diff options
author | 2019-07-30 17:07:08 +0530 | |
---|---|---|
committer | 2019-07-30 18:58:54 -0400 | |
commit | 5348deb138abb90ca8f728356772e38abc791cf9 (patch) | |
tree | 7f57ee9b6434d2c6322cd6a02bc44e1e8bc4893a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.3-rc2 (diff) | |
download | linux-dev-5348deb138abb90ca8f728356772e38abc791cf9.tar.xz linux-dev-5348deb138abb90ca8f728356772e38abc791cf9.zip |
dm table: fix dax_dev NULL dereference in device_synchronous()
If a device doesn't support DAX its 'dax_dev' is NULL. Fix
device_synchronous() to first check if dax_dev is NULL before
dereferencing it.
Fixes: 2e9ee0955d3c ("dm: enable synchronous dax")
Reported-by: jencce.kernel@gmail.com
Signed-off-by: Pankaj Gupta <pagupta@redhat.com>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions