summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-01-08 11:51:57 -0700
committerJens Axboe <axboe@kernel.dk>2024-01-08 12:27:46 -0700
commit53889bcaf536b3abedeaf104019877cee37dd08b (patch)
treea60aa7d8c61d9e626c4e0f6f6ab06dd680679d86 /drivers/md
parent3b7cb745473aec7255d66e3854abaa9c3f46f952 (diff)
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 'drivers/md')
0 files changed, 0 insertions, 0 deletions