Skip to content

Commit 209200e

Browse files
shligitaxboe
authored andcommitted
blk-stat: fix a typo
Signed-off-by: Shaohua Li <shli@fb.com> Fixes: cf43e6b ("block: add scalable completion tracking of requests") Signed-off-by: Jens Axboe <axboe@fb.com>
1 parent e0c7230 commit 209200e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎block/blk-stat.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
static void blk_stat_flush_batch(struct blk_rq_stat *stat)
1313
{
1414
const s32 nr_batch = READ_ONCE(stat->nr_batch);
15-
const s32 nr_samples = READ_ONCE(stat->nr_batch);
15+
const s32 nr_samples = READ_ONCE(stat->nr_samples);
1616

1717
if (!nr_batch)
1818
return;

0 commit comments

Comments
 (0)