summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2006-06-11 15:22:26 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-11 15:27:37 -0700
commitc0bbbc73d58f1b774cd987b5687a478a027f137c (patch)
treeb07538753116e6e4792e2a283318694e3cbbc614
parent650fb8382287f7990d5127a82a54295139224606 (diff)
downloadlinux-c0bbbc73d58f1b774cd987b5687a478a027f137c.tar.gz
linux-c0bbbc73d58f1b774cd987b5687a478a027f137c.tar.bz2
linux-c0bbbc73d58f1b774cd987b5687a478a027f137c.zip
[PATCH] typo in vmscan.c
From: Christoph Lameter <clameter@sgi.com> Looks like a comma was left from the conversion from a struct to an assignment. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--mm/vmscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 4649a63a8cb6..440a733fe2e9 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1061,7 +1061,7 @@ static unsigned long balance_pgdat(pg_data_t *pgdat, unsigned long nr_pages,
loop_again:
total_scanned = 0;
nr_reclaimed = 0;
- sc.may_writepage = !laptop_mode,
+ sc.may_writepage = !laptop_mode;
sc.nr_mapped = read_page_state(nr_mapped);
inc_page_state(pageoutrun);