[PATCH] nvme-multipath: drop head pointer check in nvme_mpath_clear_current_path()
Keith Busch
kbusch at kernel.org
Thu Apr 9 07:21:05 PDT 2026
On Wed, Apr 08, 2026 at 08:03:57AM +0000, John Garry wrote:
> A NS will always have a head pointer, so drop the check. As proof in
> practice, all the nvme_mpath_clear_current_path() callers also
> dereference ns->head.
>
> This check has endured since the original changes to support multipath.
Thanks, applied to nvme-7.1.
More information about the Linux-nvme
mailing list