]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - block/blk-mq.c
blk-mq: get rid of confusing blk_map_ctx structure
authorJens Axboe <axboe@fb.com>
Fri, 28 Oct 2016 01:03:55 +0000 (19:03 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 28 Oct 2016 01:13:58 +0000 (19:13 -0600)
commit2552e3f878c2b43b41d7728a328821d8220c28da
treef03509230174f27c2099dfbfc824f038a3b19fd0
parent7dd2fb6877b601a0b9c7284534ca4916cd7ac4bd
blk-mq: get rid of confusing blk_map_ctx structure

We can just use struct blk_mq_alloc_data - it has a few more
members, but we allocate it further down the stack anyway. So
this cleans up the code, and reduces the stack overhead a bit.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c