summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2026-04-08 11:03:57 +0300
committerKeith Busch <kbusch@kernel.org>2026-04-09 17:20:39 +0300
commit7d435caacd91d23ebba281c4aac859196e1e2938 (patch)
tree2c2039c832ef4ba6ee75f2497d0b1d0252fd343a /include/linux
parent7f991e3f9b8f044640bcb5fa8570350a68932843 (diff)
downloadlinux-7d435caacd91d23ebba281c4aac859196e1e2938.tar.xz
nvme-multipath: drop head pointer check in nvme_mpath_clear_current_path()
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. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: John Garry <john.g.garry@oracle.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions