[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <9d22314753c0874d41be54e0f8425a08974781b6.1480727312.git.shli@fb.com>
Date: Fri, 2 Dec 2016 17:13:09 -0800
From: Shaohua Li <shli@...com>
To: <linux-kernel@...r.kernel.org>
CC: <Kernel-team@...com>, <axboe@...com>
Subject: [PATCH] blk-stat: fix a typo
Signed-off-by: Shaohua Li <shli@...com>
---
block/blk-stat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/blk-stat.c b/block/blk-stat.c
index 688c958..4d01185 100644
--- a/block/blk-stat.c
+++ b/block/blk-stat.c
@@ -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;
--
2.9.3
Powered by blists - more mailing lists