]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-multipath: refactor nvme_mpath_add_disk
authorJoel Granados <j.granados@samsung.com>
Tue, 28 Jun 2022 19:10:15 +0000 (21:10 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:22:41 +0000 (17:22 -0600)
commitc13cf14f44d23102f864a0d845439aa175631854
tree1e86d360752ea91c285263e463bc9b51782bcb29
parent0f89f0ece50ec12fcec70f22b3a6ea9fd2051688
nvme-multipath: refactor nvme_mpath_add_disk

Pass anagrpid as second argument. This is prep patch that allows reusing
this function for supporting unknown command sets.

Signed-off-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c
drivers/nvme/host/multipath.c
drivers/nvme/host/nvme.h