summaryrefslogtreecommitdiff
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorDarren Hart <dvhltc@us.ibm.com>2005-06-21 17:14:53 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-21 18:46:17 -0700
commit1ad539b2bd89bf2e129123eb24d5bcc4484a35de (patch)
treee416e208cdbd5d9890d39e39384e4ec913c26ef6 /fs/buffer.c
parentcbe37d093707762fc0abb280781e6a82a9d8d568 (diff)
downloadlinux-3.10-1ad539b2bd89bf2e129123eb24d5bcc4484a35de.tar.gz
linux-3.10-1ad539b2bd89bf2e129123eb24d5bcc4484a35de.tar.bz2
linux-3.10-1ad539b2bd89bf2e129123eb24d5bcc4484a35de.zip
[PATCH] vm: try_to_free_pages unused argument
try_to_free_pages accepts a third argument, order, but hasn't used it since before 2.6.0. The following patch removes the argument and updates all the calls to try_to_free_pages. Signed-off-by: Darren Hart <dvhltc@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index 7e9e409feaa..0befa724ab9 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -528,7 +528,7 @@ static void free_more_memory(void)
for_each_pgdat(pgdat) {
zones = pgdat->node_zonelists[GFP_NOFS&GFP_ZONEMASK].zones;
if (*zones)
- try_to_free_pages(zones, GFP_NOFS, 0);
+ try_to_free_pages(zones, GFP_NOFS);
}
}