Skip to content
Commit 35e797b0 authored by Irvin Cote's avatar Irvin Cote Committed by Keith Busch
Browse files

nvme-core: use nvme_ns_head_multipath instead of ns->head->disk



Change the way we check for a multipath nshead so as
to consistently use the same check to assert the same condition.

Signed-off-by: default avatarIrvin Cote <irvincoteg@gmail.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent d97b4111
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment