Re: [dm-devel] [PATCH 21/21] libmultipath/checkers: cleanup class/instance model

2018-10-25 Thread Benjamin Marzinski
On Fri, Oct 12, 2018 at 12:27:07AM +0200, Martin Wilck wrote: > The checkers code implicitly uses a sort-of OOP class/instance model, > but very clumsily. Separate the checker "class" and "instance" cleanly, > and do a few further cleanups (constifications etc) on the way. > Reviewed-by:

[dm-devel] [PATCH 21/21] libmultipath/checkers: cleanup class/instance model

2018-10-11 Thread Martin Wilck
The checkers code implicitly uses a sort-of OOP class/instance model, but very clumsily. Separate the checker "class" and "instance" cleanly, and do a few further cleanups (constifications etc) on the way. Signed-off-by: Martin Wilck --- libmultipath/checkers.c | 137