[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YRyEH562tYkKp643@T590>
Date: Wed, 18 Aug 2021 11:53:03 +0800
From: Ming Lei <ming.lei@...hat.com>
To: John Garry <john.garry@...wei.com>
Cc: axboe@...nel.dk, jejb@...ux.ibm.com, martin.petersen@...cle.com,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org, kashyap.desai@...adcom.com,
hare@...e.de
Subject: Re: [PATCH v2 04/11] blk-mq: Invert check in
blk_mq_update_nr_requests()
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@...wei.com>
Reviewed-by: Ming Lei <ming.lei@...hat.com>
--
Ming
Powered by blists - more mailing lists