summaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorDongli Zhang <dongli.zhang@oracle.com>2019-02-27 14:35:01 +0100
committerJens Axboe <axboe@kernel.dk>2019-02-28 21:57:32 +0100
commit7d76f8562f4c42a5515741375790843fe4b8df83 (patch)
tree818e650939f1436e2e335e61d3ce5324e89c6454 /fs/buffer.c
parentblock: optimize bvec iteration in bvec_iter_advance (diff)
downloadlinux-7d76f8562f4c42a5515741375790843fe4b8df83.tar.xz
linux-7d76f8562f4c42a5515741375790843fe4b8df83.zip
blk-mq: use HCTX_TYPE_DEFAULT but not 0 to index blk_mq_tag_set->map
Replace set->map[0] with set->map[HCTX_TYPE_DEFAULT] to avoid hardcoding. Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions