1
0
Fork 0

blk-stat: fix a typo

Signed-off-by: Shaohua Li <shli@fb.com>
Fixes: cf43e6be86 ("block: add scalable completion tracking of requests")
Signed-off-by: Jens Axboe <axboe@fb.com>
zero-colors
Shaohua Li 2016-12-02 17:13:09 -08:00 committed by Jens Axboe
parent e0c7230009
commit 209200efa3
1 changed files with 1 additions and 1 deletions

View File

@ -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;