alistair23-linux/drivers/nvme/host
Christoph Hellwig 72d447113b 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: b2ce4d9069 ("nvme-multipath: set bdi capabilities once")
Reported-by: Avinash M N <Avinash.M.N@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
2020-07-02 10:38:00 +02:00
..
core.c nvme: fix identify error status silent ignore 2020-07-02 10:38:00 +02:00
fabrics.c nvme-fabrics: Use scnprintf() for avoiding potential buffer overflow 2020-03-26 04:51:55 +09:00
fabrics.h nvme: Remove ADMIN_ONLY state 2019-10-14 23:21:44 +09:00
fault_inject.c nvme: enable to inject errors into admin commands 2019-06-21 11:15:50 +02:00
fc.c nvme-fc: don't call nvme_cleanup_cmd() for AENs 2020-06-11 09:10:05 -06:00
fc.h nvme-fc: Update header and host for common definitions for LS handling 2020-05-09 16:18:33 -06:00
hwmon.c nvme: hwmon: switch to use <linux/units.h> helpers 2020-01-31 10:30:40 -08:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
lightnvm.c nvme: introduce namespace features flag 2020-05-27 07:12:38 +02:00
Makefile nvme: Add hardware monitoring support 2019-11-12 01:57:35 +09:00
multipath.c nvme: fix a crash in nvme_mpath_add_disk 2020-07-02 10:38:00 +02:00
nvme.h nvme-multipath: fix deadlock due to head->lock 2020-06-24 18:41:20 +02:00
pci.c nvme-pci: initialize tagset numa value to the value of the ctrl 2020-06-24 18:37:08 +02:00
rdma.c nvme-rdma: assign completion vector correctly 2020-06-24 18:41:19 +02:00
tcp.c nvme-tcp: initialize tagset numa value to the value of the ctrl 2020-06-24 18:37:08 +02:00
trace.c nvme: trace: parse Get LBA Status command in detail 2019-08-29 12:55:01 -07:00
trace.h nvme-trace: print result and status in hex format 2019-06-21 11:12:37 +02:00