On 2022-09-16 05:34, Yu Kuai wrote: > From: Yu Kuai <yukuai3@xxxxxxxxxx> > > Currently the nasty condition in wait_barrier() is hard to read. This > patch factors out the condition into a function. > > There are no functional changes. > > Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx> > Acked-by: Paul Menzel <pmenzel@xxxxxxxxxxxxx> Reviewed-by: Logan Gunthorpe <logang@xxxxxxxxxxxx>