OSDN Git Service

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>
Fri, 2 Apr 2021 16:48:25 +0000 (18:48 +0200)
commita56f14c26df8127815e35ae0272296aaa917a22e
tree9405d78b7a06de2f5aa6a4f426623d27f8bcee74
parent76affbe6d608490c6c762428b6a0748c9b797a1e
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