Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 02f7eab0 authored by Jens Axboe's avatar Jens Axboe
Browse files

block: improve readability of blk_mq_end_request_batch()


It's faster and easier to read if we tolerate cur_hctx being NULL in
the "when to flush" condition. Rename last_hctx to cur_hctx while at it,
as it better describes the role of that variable.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 57a13a5b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment