summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-08-28 19:34:58 +0100
committerJiri Slaby <jslaby@suse.cz>2014-09-26 11:51:59 +0200
commit32e8fcae4ace22d053805fe258a2ae78973d4a85 (patch)
tree403c7a49ce4e879b39d97ebb1a74d900bdaceb14 /include
parent72ef5b50e048aae663fe9b8a3702646a773ea414 (diff)
mm/readahead.c: inline ra_submit
commit 29f175d125f0f3a9503af8a5596f93d714cceb08 upstream. Commit f9acc8c7b35a ("readahead: sanify file_ra_state names") left ra_submit with a single function call. Move ra_submit to internal.h and inline it to save some stack. Thanks to Andrew Morton for commenting different versions. Signed-off-by: Fabian Frederick <fabf@skynet.be> Suggested-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Mel Gorman <mgorman@suse.de> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mm.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 96fc7ddd307f..2b3a5330dcf2 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1631,9 +1631,6 @@ void page_cache_async_readahead(struct address_space *mapping,
unsigned long size);
unsigned long max_sane_readahead(unsigned long nr);
-unsigned long ra_submit(struct file_ra_state *ra,
- struct address_space *mapping,
- struct file *filp);
/* Generic expand stack which grows the stack according to GROWS{UP,DOWN} */
extern int expand_stack(struct vm_area_struct *vma, unsigned long address);