Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1535311 > unrolled thread

[PATCH] blk-stat: fix a typo

Started byShaohua Li <shli@fb.com>
First post2016-12-03 02:20 +0100
Last post2016-12-03 02:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] blk-stat: fix a typo Shaohua Li <shli@fb.com> - 2016-12-03 02:20 +0100

#1535311 — [PATCH] blk-stat: fix a typo

FromShaohua Li <shli@fb.com>
Date2016-12-03 02:20 +0100
Subject[PATCH] blk-stat: fix a typo
Message-ID<sK79D-2WV-3@gated-at.bofh.it>
Signed-off-by: Shaohua Li <shli@fb.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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web