splice.c: Wrong inline function used Signed-off-by: Christoph Lameter --- fs/splice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: mm/fs/splice.c =================================================================== --- mm.orig/fs/splice.c 2007-11-28 19:48:43.246633219 -0800 +++ mm/fs/splice.c 2007-11-28 19:49:06.405882592 -0800 @@ -454,7 +454,7 @@ fill_it: */ while (page_nr < nr_pages) page_cache_release(pages[page_nr++]); - in->f_ra.prev_pos = page_cache_index(mapping, index); + in->f_ra.prev_pos = page_cache_pos(mapping, index, 0); if (spd.nr_pages) return splice_to_pipe(pipe, &spd);