]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: remove nvme_update_formats
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Sep 2020 09:10:36 +0000 (11:10 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 7 Oct 2020 05:56:19 +0000 (07:56 +0200)
commit835f0e01041ed7f14e7d89e791283d7f85837f0e
tree81cfa2b072ed2c05d65f4fa2772806db93177d73
parentca7e3c7dfdf0f618cbfc4a4fe46a2e79c0f6cbf9
nvme: remove nvme_update_formats

Now that the queue is frozen before updating ->lba_shift we can't hit the
invalid references mentioned in the comment any more.  More importantly
this code would not have helped us if the format was changed by another
controller or through implementation defined back channels.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
drivers/nvme/host/core.c