On Tue, Dec 19, 2023 at 05:12:41PM +0900, Damien Le Moal wrote: > >> Since we cannot create lambda as in other fancy languages, we need > >> two > >> functions... > > > > Not really, there is a "void *data" can be used. > > > > The device_is_zoned_model() is just the same as the device_not_zoned() > > with (bool *)data = false. > > > > It's very minor, so is okay to ignore my preference. > > Send a patch on top of Christoph's series if you want to clean this up. I'll need to respin anyway, so I'll look into incorporating the suggestion.