Re: [dm-devel] [PATCH V4 12/14] libmultipathpersist: use update_multipath_table/status, in get_mpvec

2020-09-10 Thread Martin Wilck
On Thu, 2020-09-10 at 18:53 +0800, lixiaokeng wrote: > The return values of dm_get_map, disassemble_map in get_mpvec > were not checked. Use update_multipath_table/status to instead > of them. If these function fail, call remove_map > > Signed-off-by: Lixiaokeng > Signed-off-by: Zhiqiang Liu > S

[dm-devel] [PATCH V4 12/14] libmultipathpersist: use update_multipath_table/status, in get_mpvec

2020-09-10 Thread lixiaokeng
The return values of dm_get_map, disassemble_map in get_mpvec were not checked. Use update_multipath_table/status to instead of them. If these function fail, call remove_map Signed-off-by: Lixiaokeng Signed-off-by: Zhiqiang Liu Signed-off-by: Linfeilong --- libmpathpersist/mpath_persist.c | 15