Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 209200ef authored by Shaohua Li's avatar Shaohua Li Committed by Jens Axboe
Browse files

blk-stat: fix a typo



Signed-off-by: default avatarShaohua Li <shli@fb.com>
Fixes: cf43e6be ("block: add scalable completion tracking of requests")
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent e0c72300
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;