diff options
| author | 2019-02-27 21:35:01 +0800 | |
|---|---|---|
| committer | 2019-02-28 13:57:32 -0700 | |
| commit | 7d76f8562f4c42a5515741375790843fe4b8df83 (patch) | |
| tree | 818e650939f1436e2e335e61d3ce5324e89c6454 /fs/buffer.c | |
| parent | block: optimize bvec iteration in bvec_iter_advance (diff) | |
| download | wireguard-linux-7d76f8562f4c42a5515741375790843fe4b8df83.tar.xz wireguard-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
