summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2017-11-16 13:36:49 -0700
committerChristoph Hellwig <hch@lst.de>2017-11-20 08:38:11 +0100
commitb0d61d586f09fd814a45a5d778fe0d6123f67c2a (patch)
tree475f348d8742332afb1cee36185892ec17ac97f6 /scripts/gdb/linux/proc.py
parent89c4aff6d4f71726f22e567f046dc1dd73c35de1 (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 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions