commit | aeec77629a4ac6f8c248f3a82e80d4170a881f22 | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@redhat.com> | Sat Oct 14 17:22:31 2017 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Nov 01 08:20:02 2017 -0600 |
tree | b7a500ba2ada9f2e70d4adc8a608095aa6f63045 | |
parent | b347689ffbca745ac457ee27400ce1affd571c6f [diff] |
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: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>