summaryrefslogtreecommitdiffstats
path: root/block
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 /block
parent3b7cb745473aec7255d66e3854abaa9c3f46f952 (diff)
downloadlinux-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