Skip to content
Commit 86127bb1 authored by Hao Xu's avatar Hao Xu Committed by Jens Axboe
Browse files

io-wq: use IO_WQ_ACCT_NR rather than hardcoded number



It's better to use the defined enum stuff not the hardcoded number to
define array.

Signed-off-by: default avatarHao Xu <haoxu@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220206095241.121485-4-haoxu@linux.alibaba.com
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e13fb1fe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment