Re: [dm-devel] [PATCH 8/8] libmultipath: cleanup invalid config handling

2021-11-05 Thread Benjamin Marzinski
On Thu, Nov 04, 2021 at 09:11:34PM +, Martin Wilck wrote: > On Wed, 2021-10-06 at 15:04 -0500, Benjamin Marzinski wrote: > > Add error reporting to the remaining config handlers. If the value is > > invalid, do not change the existing config option's value. > > Like for the previous patch,

[dm-devel] [PATCH 8/8] libmultipath: cleanup invalid config handling

2021-10-06 Thread Benjamin Marzinski
Add error reporting to the remaining config handlers. If the value is invalid, do not change the existing config option's value. Also print an error whenever 0 is returned for an invalid value. When the handler returns 1, config processing already fails with an error message. Signed-off-by: