Commit 0d843650 authored by Bart Van Assche's avatar Bart Van Assche Committed by Bart Van Assche
Browse files

FROMGIT: block: mq-deadline: Clean up deadline_check_fifo()



Change the return type of deadline_check_fifo() from 'int' into 'bool'.
Use time_is_before_eq_jiffies() instead of time_after_eq(). No
functionality has been changed.

Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
Cc: Damien Le Moal <dlemoal@kernel.org>
Cc: Ming Lei <ming.lei@redhat.com>
Change-Id: Ie1ace1db1f1c78246fee60cd9a301cf0d6ad1f89
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Reviewed-by: default avatarDamien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230517174230.897144-7-bvanassche@acm.org


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Bug: 275581839
(cherry picked from commit e0d85cde https://git.kernel.dk/cgit/linux/

)
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 435b2eda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment