diff options
| author | Hannes Reinecke <[email protected]> | 2021-05-26 15:23:15 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2021-06-02 07:06:53 +0000 |
| commit | a6c144f3d2e230f2b3ac5ed8c51e0f0391556197 (patch) | |
| tree | 161825fb24ebecc1fbced384b6eaf081906a2e1a /tools/perf/scripts/python/flamegraph.py | |
| parent | nvme-rdma: fix in-casule data send for chained sgls (diff) | |
| download | kernel-a6c144f3d2e230f2b3ac5ed8c51e0f0391556197.tar.gz kernel-a6c144f3d2e230f2b3ac5ed8c51e0f0391556197.zip | |
nvme-loop: reset queue count to 1 in nvme_loop_destroy_io_queues()
The queue count is increased in nvme_loop_init_io_queues(), so we
need to reset it to 1 at the end of nvme_loop_destroy_io_queues().
Otherwise the function is not re-entrant safe, and crash will happen
during concurrent reset and remove calls.
Signed-off-by: Hannes Reinecke <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
