diff options
author | Martin Wilck <mwilck@suse.com> | 2019-09-23 16:02:02 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-09-23 19:17:24 +0200 |
commit | d46fe2cb2dce7f5038473b5859e03f5e16b7428e (patch) | |
tree | 408e14effb0c002d652c057826fd0f0f1c25805e /.mailmap | |
parent | block: t10-pi: fix -Wswitch warning (diff) | |
download | linux-d46fe2cb2dce7f5038473b5859e03f5e16b7428e.tar.xz linux-d46fe2cb2dce7f5038473b5859e03f5e16b7428e.zip |
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: cd2f076f1d7a ("bsg: convert to use blk-mq")
Signed-off-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions