[PATCH] vmstat: Fix wrong comment

From: SeongJae Park
Date: Wed Aug 09 2017 - 14:58:37 EST


Comment for pagetypeinfo_showblockcount() is mistakenly duplicated from
pagetypeinfo_show_free()'s comment. This commit fixes it.

Signed-off-by: SeongJae Park <sj38.park@xxxxxxxxx>
Fixes: 467c996c1e19 ("Print out statistics in relation to fragmentation avoidance to /proc/pagetypeinfo")
---
mm/vmstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/vmstat.c b/mm/vmstat.c
index 9a4441bbeef2..c30cda773d4a 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -1250,7 +1250,7 @@ static void pagetypeinfo_showblockcount_print(struct seq_file *m,
seq_putc(m, '\n');
}

-/* Print out the free pages at each order for each migratetype */
+/* Print out the number of pageblocks for each migratetype */
static int pagetypeinfo_showblockcount(struct seq_file *m, void *arg)
{
int mtype;
--
2.13.0