Skip to content
Commit 9d207acc authored by Jens Axboe's avatar Jens Axboe Committed by Tejun Heo
Browse files

libata: remove assumption that ATA_MAX_QUEUE - 1 is the max



In a few spots we iterate to ATA_MAX_QUEUE -1, including internal
knowledge that the last tag is the internal tag. Remove this
assumption.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 2e2cc676
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