commit | 0da73d00ca111a6175825a00d94dbeae185f6d7e | [log] [tgz] |
---|---|---|
author | Minwoo Im <minwoo.im.dev@gmail.com> | Mon Jul 02 23:46:43 2018 +0900 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jul 09 09:07:53 2018 -0600 |
tree | 9885b0b946b98ecf4b4ea37d62b8e507df5f8a52 | |
parent | 5efac89c849849ad3a959224eb711f9c311e5bde [diff] |
blk-mq: code clean-up by adding an API to clear set->mq_map set->mq_map is now currently cleared if something goes wrong when establishing a queue map in blk-mq-pci.c. It's also cleared before updating a queue map in blk_mq_update_queue_map(). This patch provides an API to clear set->mq_map to make it clear. Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>