Commit 209200ef authored by Shaohua Li's avatar Shaohua Li Committed by Jens Axboe

blk-stat: fix a typo

Signed-off-by: default avatarShaohua Li <shli@fb.com>
Fixes: cf43e6be ("block: add scalable completion tracking of requests")
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent e0c72300
......@@ -12,7 +12,7 @@
static void blk_stat_flush_batch(struct blk_rq_stat *stat)
{
const s32 nr_batch = READ_ONCE(stat->nr_batch);
const s32 nr_samples = READ_ONCE(stat->nr_batch);
const s32 nr_samples = READ_ONCE(stat->nr_samples);
if (!nr_batch)
return;
......
Markdown is supported
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