diff options
author | Christoph Hellwig <[email protected]> | 2021-04-29 14:18:53 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2021-05-11 18:30:45 +0200 |
commit | 5e1f689913a4498e3081093670ef9d85b2c60920 (patch) | |
tree | f225378af2f7374c6cb7d2c089f97f4b0149a168 /drivers/usb/cdns3/cdns3-debug.h | |
parent | efed9a3337e341bd0989161b97453b52567bc59d (diff) |
nvme-multipath: fix double initialization of ANA state
nvme_init_identify and thus nvme_mpath_init can be called multiple
times and thus must not overwrite potentially initialized or in-use
fields. Split out a helper for the basic initialization when the
controller is initialized and make sure the init_identify path does
not blindly change in-use data structures.
Fixes: 0d0b660f214d ("nvme: add ANA support")
Reported-by: Martin Wilck <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions