mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
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>
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user