]> git.ipfire.org Git - thirdparty/linux.git/commit
blk-mq: fix allocation for queue mapping table
authorMing Lei <ming.lei@redhat.com>
Mon, 17 Dec 2018 10:42:45 +0000 (18:42 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Dec 2018 12:37:23 +0000 (05:37 -0700)
commit07b35eb5a364fa59f88f65e6c786192f2c9163be
tree88a013d7d2b6f97b5c7748735688148254ebc957
parentd19afebca47602bd9909944eb0ee406dce66174d
blk-mq: fix allocation for queue mapping table

Type of each element in queue mapping table is 'unsigned int,
intead of 'struct blk_mq_queue_map)', so fix it.

Cc: Jeff Moyer <jmoyer@redhat.com>
Cc: Mike Snitzer <snitzer@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c