aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cam.ac.uk>2007-02-10 04:45:38 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 13:51:30 -0500
commit54bc485522afdac33de5504da2ea8cdcc690674e (patch)
tree9f979e7ff693eefaa1c7326c1a2422a699809a77 /mm
parent5449bc94152a6c4700f46786be600141234d8f0f (diff)
[PATCH] Export invalidate_mapping_pages() to modules
It makes no sense to me to export invalidate_inode_pages() and not invalidate_mapping_pages() and I actually need invalidate_mapping_pages() because of its range specification ability... akpm: also remove the export of invalidate_inode_pages() by making it an inlined wrapper. Signed-off-by: Anton Altaparmakov <aia21@cantab.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/truncate.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mm/truncate.c b/mm/truncate.c
index 5df947de7654..85105db34609 100644
--- a/mm/truncate.c
+++ b/mm/truncate.c
@@ -310,12 +310,7 @@ unlock:
310 } 310 }
311 return ret; 311 return ret;
312} 312}
313 313EXPORT_SYMBOL(invalidate_mapping_pages);
314unsigned long invalidate_inode_pages(struct address_space *mapping)
315{
316 return invalidate_mapping_pages(mapping, 0, ~0UL);
317}
318EXPORT_SYMBOL(invalidate_inode_pages);
319 314
320/* 315/*
321 * This is like invalidate_complete_page(), except it ignores the page's 316 * This is like invalidate_complete_page(), except it ignores the page's