commit | f6adcef5f317c78a899ca9766e90e47026834158 | [log] [tgz] |
---|---|---|
author | John Garry <john.garry@huawei.com> | Tue Oct 05 18:23:29 2021 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Oct 18 06:17:02 2021 -0600 |
tree | 95c604236291598a242dceb184fffe7377f2a6e7 | |
parent | 8fa044640f128c0cd015f72cda42989a664889fc [diff] |
blk-mq: Invert check in blk_mq_update_nr_requests() 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> Reviewed-by: Hannes Reinecke <hare@suse.de> Link: https://lore.kernel.org/r/1633429419-228500-5-git-send-email-john.garry@huawei.com Signed-off-by: Jens Axboe <axboe@kernel.dk>