From: Shaohua Li Date: Sat, 3 Dec 2016 01:13:09 +0000 (-0800) Subject: blk-stat: fix a typo X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=209200efa3db3d09380ee7c796efa73d900d5f3a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git blk-stat: fix a typo Signed-off-by: Shaohua Li Fixes: cf43e6be865a ("block: add scalable completion tracking of requests") Signed-off-by: Jens Axboe --- 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;