diff options
author | 2023-01-20 17:43:54 +0000 | |
---|---|---|
committer | 2023-01-23 17:42:11 +0100 | |
commit | 98e3528012cd571c48bbae7c7c0f868823254b6c (patch) | |
tree | e421e2cf07afe503b450988888c1e92c76a9dbc8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'nvme-6.2-2023-01-20' of git://git.infradead.org/nvme into block-6.2 (diff) | |
download | wireguard-linux-98e3528012cd571c48bbae7c7c0f868823254b6c.tar.xz wireguard-linux-98e3528012cd571c48bbae7c7c0f868823254b6c.zip |
nvme-fc: fix initialization order
ctrl->ops is used by nvme_alloc_admin_tag_set() but set by
nvme_init_ctrl() so reorder the calls to avoid a NULL pointer
dereference.
Fixes: 6dfba1c09c10 ("nvme-fc: use the tagset alloc/free helpers")
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions