Re: [dm-devel] [PATCH 42/42] libmultipath: dm_addmap(): refuse creating map with empty WWID

2020-07-20 Thread Benjamin Marzinski
On Thu, Jul 09, 2020 at 12:35:13PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > We already avoid creating maps with empty WWID in coalesce_paths() > as well as in ev_add_path(). The only code path where it's difficult > to prove (although extremely unlikely) that we can't call >

[dm-devel] [PATCH 42/42] libmultipath: dm_addmap(): refuse creating map with empty WWID

2020-07-09 Thread mwilck
From: Martin Wilck We already avoid creating maps with empty WWID in coalesce_paths() as well as in ev_add_path(). The only code path where it's difficult to prove (although extremely unlikely) that we can't call dm_addmap(ACT_CREATE) with an empty WWID is update_path_groups()-> reload_map(). To