Skip to content
Commit 0d11e6ac authored by Ming Lei's avatar Ming Lei Committed by Jens Axboe
Browse files

blk-mq: fix use-after-free of request



If accounting is on, we will do the IO completion accounting after
we have freed the request. Fix that by moving it sooner instead.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 959a35f1
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