[PATCH] nvme-multipath: fix possible hang in live ns resize with ANA access
Keith Busch
kbusch at kernel.org
Wed Sep 28 10:21:36 PDT 2022
On Wed, Sep 28, 2022 at 04:58:16PM +0300, Sagi Grimberg wrote:
> @@ -172,16 +172,18 @@ void nvme_mpath_clear_ctrl_paths(struct nvme_ctrl *ctrl)
> void nvme_mpath_revalidate_paths(struct nvme_ns *ns)
> {
> struct nvme_ns_head *head = ns->head;
> + struct nvme_ns *n;
> sector_t capacity = get_capacity(head->disk);
> int node;
Cosmetic nit, the new declaration ought to be below the capacity line for
reverse-xmas tree goodness.
More information about the Linux-nvme
mailing list