diff options
author | Shaohua Li <shli@fb.com> | 2016-12-02 17:13:09 -0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-12-02 20:17:43 -0700 |
commit | 209200efa3db3d09380ee7c796efa73d900d5f3a (patch) | |
tree | 2651e9e686836a3dadcb0291e966dda973c0c063 | |
parent | e0c723000966ae285295caaa8cda914dfa177fa4 (diff) | |
download | linux-209200efa3db3d09380ee7c796efa73d900d5f3a.tar.bz2 |
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>
-rw-r--r-- | block/blk-stat.c | 2 |
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; |