Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: remove bogus check for queue_lock assignment
We just allocated the queue and haven't even set it up yet, hence we know that checking if ->mq_ops is NULL is always going to be true. In fact we do need to assign a lock to ->queue_lock always, as we need it for the queue flags modifications. Signed-off-by: Jens Axboe <axboe@kernel.dk>
- Loading branch information