nvmet: update error log page in nvmet_alloc_ctrl()
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thu, 25 Feb 2021 01:56:38 +0000 (17:56 -0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 18 Mar 2021 05:17:25 +0000 (06:17 +0100)
commit7cf915eaaf1a512488b13503d4fd28b6388511cd
tree8ecb7415546913a7de8936843dceacaf3c844dd2
parent1eb325d4705d54053a32ef59326f091354df4a57
nvmet: update error log page in nvmet_alloc_ctrl()

Instead of updating the error log page in the caller of the
nvmet_alloc_ctrt() update the error log page in the nvmet_alloc_ctrl().

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/core.c
drivers/nvme/target/fabrics-cmd.c