Skip to content

Commit

Permalink
blk-stat: fix a typo
Browse files Browse the repository at this point in the history
Signed-off-by: Shaohua Li <[email protected]>
Fixes: cf43e6b ("block: add scalable completion tracking of requests")
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
shligit authored and axboe committed Dec 3, 2016
1 parent e0c7230 commit 209200e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block/blk-stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 209200e

Please sign in to comment.