On Jan 07, 2021 / 06:57, Dmitry Fomichev wrote: > The function zbd_zone_nr() is always called with the first argument > being f->zbd_info. If "f" is made the first argument instead, calls > of this function become more compact end easier to read. > > Besides this change, convert several places in the code where the same > zone number calculation is open coded to zbd_zone_nr() calls. > This is a refactoring patch, no change in functionality. > > Signed-off-by: Dmitry Fomichev <dmitry.fomichev@xxxxxxx> Looks good to me. Reviewed-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx> -- Best Regards, Shin'ichiro Kawasaki