Re: [PATCH 04/10] nvmet: remove nsid param from nvmet_find_namespace()
From: Chaitanya Kulkarni <hidden>
Date: 2021-02-02 00:13:55
From: Chaitanya Kulkarni <hidden>
Date: 2021-02-02 00:13:55
On 2/1/21 09:28, Christoph Hellwig wrote:
quoted
The nvmet_find_namespace() takes nsid parameter which is from NVMe commands structures such as get_log_page, identify, rw and common. All these commands have same offset for the nsid field. Derive nsid from req (req->cmd->common.nsid) and remove the extra parameter from the nvmet_find_namespace().I'd merge this into the previous one as that totally changes the calling conventions anyway. Otherwise this looks good to me.
Okay. _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme