[dm-devel] [PATCH 2/6] multipathd: check for NULL udevice in cli_add_path

Martin Wilck mwilck at suse.com
Wed Oct 10 18:13:31 UTC 2018


On Wed, 2018-10-10 at 13:01 -0500, Benjamin Marzinski wrote:
> If cli_add_path can't get a udevice for the path, it should fail
> immediately, instead of continuing with a NULL udevice, since it will
> fail in store_pathinfo() anyway.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>


Reviewed-by: Martin Wilck <mwilck at suse.com>

-- 
Dr. Martin Wilck <mwilck at suse.com>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)





More information about the dm-devel mailing list