[PATCH] mm: vmevent: Report number of used swap pages, not total amount of swap

2012-10-12 Thread Anton Vorontsov
I think the actual intent was to report the number of used swap pages, not just total swap size. This patch fixes the issue. Signed-off-by: Anton Vorontsov --- mm/vmevent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmevent.c b/mm/vmevent.c index 1c2e72e..a059bed

[PATCH] mm: vmevent: Report number of used swap pages, not total amount of swap

2012-10-12 Thread Anton Vorontsov
I think the actual intent was to report the number of used swap pages, not just total swap size. This patch fixes the issue. Signed-off-by: Anton Vorontsov anton.voront...@linaro.org --- mm/vmevent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmevent.c b/mm/vmevent.c