Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: drop device references in bsg_queue_rq()
Make sure that bsg_queue_rq() calls put_device() if an error is encountered after get_device() was successful. Fixes: cd2f076 ("bsg: convert to use blk-mq") Signed-off-by: Martin Wilck <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information