]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: Cleanup discovery execute handlers
authorChristoph Hellwig <hch@lst.de>
Wed, 23 Oct 2019 16:35:42 +0000 (10:35 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 4 Nov 2019 17:56:41 +0000 (10:56 -0700)
commit5cd69feca85f5142b077bd1a7a8a3e5b25da2b0d
tree86cb4d413a8c97944699160dfb859dae57047591
parenta306e76f1d816aace607bc31cb1d0d358e9fb513
nvmet: Cleanup discovery execute handlers

Push the lid and cns check into their respective handlers and, while
we're at it, rename the functions to be consistent with other
discovery handlers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
[split patch, update changelog]
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/discovery.c