diff options
author | Keith Busch <keith.busch@intel.com> | 2017-11-16 15:36:49 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-11-20 02:38:11 -0500 |
commit | b0d61d586f09fd814a45a5d778fe0d6123f67c2a (patch) | |
tree | 475f348d8742332afb1cee36185892ec17ac97f6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 89c4aff6d4f71726f22e567f046dc1dd73c35de1 (diff) |
nvme: Fix NULL dereference on reservation request
This fixes using the NULL 'head' before getting the reference. It is
however possible the head will always be NULL, so this patch uses the
struct nvme_ns to get the ns_id field.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions