mirror of https://gitee.com/openkylin/linux.git
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:
parent
e0c7230009
commit
209200efa3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue