Re: [dm-devel] [PATCH v2 6/6] libmultipath: drop unnecessary parameter from remove_map()

2021-09-03 Thread Martin Wilck
On Fri, 2021-09-03 at 11:28 +0200, Martin Wilck wrote: > On Thu, 2021-09-02 at 16:57 -0500, Benjamin Marzinski wrote: > > When remove_map() is called, if the multipath device is in a mpvec, > > it > > must be removed from it, because the device will be freed. Now that > > the > > mpvec is passed as

Re: [dm-devel] [PATCH v2 6/6] libmultipath: drop unnecessary parameter from remove_map()

2021-09-03 Thread Benjamin Marzinski
On Fri, Sep 03, 2021 at 03:22:45PM +, Martin Wilck wrote: > On Fri, 2021-09-03 at 11:28 +0200, Martin Wilck wrote: > > On Thu, 2021-09-02 at 16:57 -0500, Benjamin Marzinski wrote: > > > When remove_map() is called, if the multipath device is in a mpvec, > > > it > > > must be removed from it, b

Re: [dm-devel] [PATCH v2 6/6] libmultipath: drop unnecessary parameter from remove_map()

2021-09-03 Thread Martin Wilck
On Thu, 2021-09-02 at 16:57 -0500, Benjamin Marzinski wrote: > When remove_map() is called, if the multipath device is in a mpvec, > it > must be removed from it, because the device will be freed. Now that > the > mpvec is passed as a separate parameter to remove_map(), the > purge_vec > parameter

[dm-devel] [PATCH v2 6/6] libmultipath: drop unnecessary parameter from remove_map()

2021-09-02 Thread Benjamin Marzinski
When remove_map() is called, if the multipath device is in a mpvec, it must be removed from it, because the device will be freed. Now that the mpvec is passed as a separate parameter to remove_map(), the purge_vec parameter is redundant. It was only used by coalesce_paths(), since the multipath de