projects
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
readahead: combine file_ra_state.prev_index/prev_offset into prev_pos
[linux-2.6.git]
/
fs
/
splice.c
diff --git
a/fs/splice.c
b/fs/splice.c
index
e95a362
..
2df6be4
100644
(file)
--- a/
fs/splice.c
+++ b/
fs/splice.c
@@
-447,7
+447,7
@@
fill_it:
*/
while (page_nr < nr_pages)
page_cache_release(pages[page_nr++]);
- in->f_ra.prev_index = index;
+ in->f_ra.prev_pos = (loff_t)index << PAGE_CACHE_SHIFT;
if (spd.nr_pages)
return splice_to_pipe(pipe, &spd);