Re: [PATCH v2 04/11] blk-mq: Invert check in blk_mq_update_nr_requests()

Ming Lei
2021-08-18T03:55:04Z

On Mon, Aug 09, 2021 at 10:29:31PM +0800, John Garry wrote:
> It's easier to read:
>
> if (x)
> X;
> else
> Y;
>
> over:
>
> if (!x)
> Y;
> else
> X;
>
> No functional change intended.
>
> Signed-off-by: John Garry <john.garry@huawei.com>

Reviewed-by: Ming Lei <ming.lei@redhat.com>

--
Ming