On Fri, Feb 23, 2024 at 3:20 AM Keith Busch <kbusch@xxxxxxxx> wrote: > > From: Keith Busch <kbusch@xxxxxxxxxx> > > This is the same in two places, and another will be added soon. > Create a helper for it. > > Signed-off-by: Keith Busch <kbusch@xxxxxxxxxx> On Fri, Feb 23, 2024 at 3:21 AM Keith Busch <kbusch@xxxxxxxx> wrote: > > From: Keith Busch <kbusch@xxxxxxxxxx> > > Use consistent coding style in this file. All the other loops for the > same purpose use "while (nr_sects)", so they win. > > Signed-off-by: Keith Busch <kbusch@xxxxxxxxxx> Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>