diff options
Diffstat (limited to 'fs/splice.c')
-rw-r--r-- | fs/splice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/splice.c b/fs/splice.c index e95a36228863..2df6be43c667 100644 --- a/fs/splice.c +++ b/fs/splice.c | |||
@@ -447,7 +447,7 @@ fill_it: | |||
447 | */ | 447 | */ |
448 | while (page_nr < nr_pages) | 448 | while (page_nr < nr_pages) |
449 | page_cache_release(pages[page_nr++]); | 449 | page_cache_release(pages[page_nr++]); |
450 | in->f_ra.prev_index = index; | 450 | in->f_ra.prev_pos = (loff_t)index << PAGE_CACHE_SHIFT; |
451 | 451 | ||
452 | if (spd.nr_pages) | 452 | if (spd.nr_pages) |
453 | return splice_to_pipe(pipe, &spd); | 453 | return splice_to_pipe(pipe, &spd); |