diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-01-08 11:51:57 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-01-08 12:27:46 -0700 |
commit | 53889bcaf536b3abedeaf104019877cee37dd08b (patch) | |
tree | a60aa7d8c61d9e626c4e0f6f6ab06dd680679d86 /block | |
parent | 3b7cb745473aec7255d66e3854abaa9c3f46f952 (diff) | |
download | linux-stable-53889bcaf536b3abedeaf104019877cee37dd08b.tar.gz linux-stable-53889bcaf536b3abedeaf104019877cee37dd08b.tar.bz2 linux-stable-53889bcaf536b3abedeaf104019877cee37dd08b.zip |
block: make __get_task_ioprio() easier to read
We don't need to do any gymnastics if we don't have an io_context
assigned at all, so just return early with our default priority.
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions