提交 209200ef 编写于 作者: S Shaohua Li 提交者: Jens Axboe

blk-stat: fix a typo

Signed-off-by: NShaohua Li <shli@fb.com>
Fixes: cf43e6be ("block: add scalable completion tracking of requests")
Signed-off-by: NJens Axboe <axboe@fb.com>
上级 e0c72300
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
static void blk_stat_flush_batch(struct blk_rq_stat *stat) static void blk_stat_flush_batch(struct blk_rq_stat *stat)
{ {
const s32 nr_batch = READ_ONCE(stat->nr_batch); 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) if (!nr_batch)
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册