summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2016-12-02 17:13:09 -0800
committerJens Axboe <axboe@fb.com>2016-12-02 20:17:43 -0700
commit209200efa3db3d09380ee7c796efa73d900d5f3a (patch)
tree2651e9e686836a3dadcb0291e966dda973c0c063 /block
parente0c723000966ae285295caaa8cda914dfa177fa4 (diff)
downloadblackbird-op-linux-209200efa3db3d09380ee7c796efa73d900d5f3a.tar.gz
blackbird-op-linux-209200efa3db3d09380ee7c796efa73d900d5f3a.zip
blk-stat: fix a typo
Signed-off-by: Shaohua Li <shli@fb.com> Fixes: cf43e6be865a ("block: add scalable completion tracking of requests") Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
-rw-r--r--block/blk-stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-stat.c b/block/blk-stat.c
index 688c958367ee..4d0118568727 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;
OpenPOWER on IntegriCloud