diff options
author | Daniel Wagner <dwagner@suse.de> | 2020-05-29 13:37:40 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-11 17:10:05 +0200 |
commit | c9c12e51b82b2bd0c59ac4e27ee5427f382a503f (patch) | |
tree | 746f3419960a3bd741a2335dd987ebe46d9ac340 /drivers/of | |
parent | nvmet-tcp: constify nvmet_tcp_ops (diff) | |
download | linux-c9c12e51b82b2bd0c59ac4e27ee5427f382a503f.tar.xz linux-c9c12e51b82b2bd0c59ac4e27ee5427f382a503f.zip |
nvme-fc: don't call nvme_cleanup_cmd() for AENs
Asynchronous event notifications do not have an associated request.
When fcp_io() fails we unconditionally call nvme_cleanup_cmd() which
leads to a crash.
Fixes: 16686f3a6c3c ("nvme: move common call to nvme_cleanup_cmd to core layer")
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Himanshu Madhani <hmadhani2024@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions