Re: [dm-devel] [PATCH 5/8] libmultipath: make set_int take a range for valid values

2021-11-05 Thread Benjamin Marzinski
On Thu, Nov 04, 2021 at 08:34:33PM +, Martin Wilck wrote: > On Wed, 2021-10-06 at 15:04 -0500, Benjamin Marzinski wrote: > > If a value outside of the valid range is passed to set_int, it caps > > the > > value at appropriate limit, and issues a warning. > > > > Signed-off-by: Benjamin

[dm-devel] [PATCH 5/8] libmultipath: make set_int take a range for valid values

2021-10-06 Thread Benjamin Marzinski
If a value outside of the valid range is passed to set_int, it caps the value at appropriate limit, and issues a warning. Signed-off-by: Benjamin Marzinski --- libmultipath/dict.c | 121 +++- 1 file changed, 75 insertions(+), 46 deletions(-) diff --git