diff options
author | 2022-03-24 14:46:03 +0100 | |
---|---|---|
committer | 2022-03-29 23:29:19 -0400 | |
commit | f06aa52cb2723ec67e92df463827b800d6c477d1 (patch) | |
tree | cbdf31d9474a03c89350be412ecd32e2c6be12af /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: ufs: core: Remove unused field in struct ufs_hba (diff) | |
download | linux-dev-f06aa52cb2723ec67e92df463827b800d6c477d1.tar.xz linux-dev-f06aa52cb2723ec67e92df463827b800d6c477d1.zip |
scsi: core: scsi_logging: Fix a BUG
The request_queue may be NULL in a request, for example when it comes from
scsi_ioctl_reset(). Check it before use.
Fixes: f3fa33acca9f ("block: remove the ->rq_disk field in struct request")
Link: https://lore.kernel.org/r/20220324134603.28463-1-thenzl@redhat.com
Reported-by: Changhui Zhong <czhong@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions