diff options
author | 2019-03-13 18:54:57 +0100 | |
---|---|---|
committer | 2019-03-13 12:05:39 -0600 | |
commit | a63b83700ba89c300f705167d06bf122f3666287 (patch) | |
tree | e5840176bb7470a38e7282085391fb6aefdab9ca /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvme-trace: fix cdw10 buffer overrun (diff) | |
download | wireguard-linux-a63b83700ba89c300f705167d06bf122f3666287.tar.xz wireguard-linux-a63b83700ba89c300f705167d06bf122f3666287.zip |
nvme: put ns_head ref if namespace fails allocation
In case nvme_alloc_ns fails after we initialize ns_head but before we
add the ns to the controller namespaces list we need to explicitly put
the ns_head reference because when we teardown the controller we
won't find it, causing us to leak a dangling subsystem eventually.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions