]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
dm mpath: add m->hw_handler_name NULL pointer check in parse_hw_handler()
authortang.junhui <tang.junhui@zte.com.cn>
Fri, 28 Oct 2016 09:04:46 +0000 (17:04 +0800)
committerMike Snitzer <snitzer@redhat.com>
Mon, 21 Nov 2016 14:52:07 +0000 (09:52 -0500)
commitf97dc421280e16b8eb0c8f685610ba007ec11b79
tree5875faeebf2956ba338516d9d2b750706b4a7fca
parentbff7e067ee518f9ed7e1cbc63e4c9e01670d0b71
dm mpath: add m->hw_handler_name NULL pointer check in parse_hw_handler()

Avoids false positive of no hardware handler being specified (which is
implied by a NULL m->hw_handler_name).

Signed-off-by: tang.junhui <tang.junhui@zte.com.cn>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c