Re: [dm-devel] [PATCH 04/16] libmultipath: add wrapper function around pgpolicyfn

2019-08-16 Thread Benjamin Marzinski
On Wed, Aug 14, 2019 at 09:39:27PM +, Martin Wilck wrote: > On Fri, 2019-08-02 at 11:33 -0500, Benjamin Marzinski wrote: > > group_paths() is a wrapper around the pgpolicy functions, that pulls > > out > > the common code from the beginning and the end. However since > > one_group() didn't

Re: [dm-devel] [PATCH 04/16] libmultipath: add wrapper function around pgpolicyfn

2019-08-14 Thread Martin Wilck
On Fri, 2019-08-02 at 11:33 -0500, Benjamin Marzinski wrote: > group_paths() is a wrapper around the pgpolicy functions, that pulls > out > the common code from the beginning and the end. However since > one_group() didn't free the mp->paths vector, it has to set it to > NULL, > to avoid having