]> 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)
commit0d121e03f36e42c006ec03d5a6939de3ae0b367f
tree86cb4d413a8c97944699160dfb859dae57047591
parent6611abbac654873948fe07a752e4f4aca2569c64
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