summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-04-29 14:18:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-26 12:06:57 +0200
commit7b994b03f1de4475dc261a0ff057751fdd0d2bfa (patch)
treeffd22b1a33d2ba0d688c0e7738c0592d0015652c /drivers/rtc
parente2c26ddd4e8565c54068d827da09bfabdf9d82de (diff)
nvme-multipath: fix double initialization of ANA state
commit 5e1f689913a4498e3081093670ef9d85b2c60920 upstream. 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 <mwilck@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions