diff options
| author | Christoph Hellwig <[email protected]> | 2020-06-29 14:30:19 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2020-07-02 08:38:00 +0000 |
| commit | 72d447113bb751ded97b2e2c38f886e4a4139082 (patch) | |
| tree | 660206577b8bb36b3b85ad4eb3d9c5133e010bb9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | nvme: fix identify error status silent ignore (diff) | |
| download | kernel-72d447113bb751ded97b2e2c38f886e4a4139082.tar.gz kernel-72d447113bb751ded97b2e2c38f886e4a4139082.zip | |
nvme: fix a crash in nvme_mpath_add_disk
For private namespaces ns->head_disk is NULL, so add a NULL check
before updating the BDI capabilities.
Fixes: b2ce4d90690b ("nvme-multipath: set bdi capabilities once")
Reported-by: Avinash M N <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Max Gurtovoy <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
