mm/readahead.c: inline ra_submit
authorFabian Frederick <fabf@skynet.be>
Mon, 7 Apr 2014 22:37:55 +0000 (15:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Apr 2014 23:35:58 +0000 (16:35 -0700)
commit29f175d125f0f3a9503af8a5596f93d714cceb08
tree442694afa182a6da0549ad00942047482df6bd7f
parent55f67141a8927b2be3e51840da37b8a2320143ed
mm/readahead.c: inline ra_submit

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>
include/linux/mm.h
mm/internal.h
mm/readahead.c