nvme-fc: set numa_node after nvme_init_ctrl
authorKeith Busch <kbusch@kernel.org>
Mon, 18 Dec 2023 23:22:24 +0000 (15:22 -0800)
committerKeith Busch <kbusch@kernel.org>
Thu, 21 Dec 2023 17:19:01 +0000 (09:19 -0800)
commit5d51dc8db10190661232741c93a141bdfc05f5ee
treeec22a46491dfcc76c6482bf89421a1f483fef514
parent7642138e17529b48b43c69faf5c6f45bb2b64234
nvme-fc: set numa_node after nvme_init_ctrl

nvme_init_ctrl() resets numa_node to NUMA_NO_NODE, so be sure to set the
desired value after that function call so it won't be overwritten.

Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/fc.c