Skip to content
Snippets Groups Projects
Commit aeec7762 authored by Ming Lei's avatar Ming Lei Committed by Jens Axboe
Browse files

scsi: allow passing in null rq to scsi_prep_state_check()


In the following patch, we will implement scsi_get_budget()
which need to call scsi_prep_state_check() when rq isn't
dequeued yet.

Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent b347689f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment