diff options
author | Jan Kara <jack@suse.cz> | 2007-05-06 23:49:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 21:12:52 +0200 |
commit | 6ce745ed39d35f9d547d00d406db2be7c6c175b3 (patch) | |
tree | 16f471389c9f619c37891fdb6e1843e1f2721c78 /mm/slab.c | |
parent | readahead: improve heuristic detecting sequential reads (diff) | |
download | linux-6ce745ed39d35f9d547d00d406db2be7c6c175b3.tar.xz linux-6ce745ed39d35f9d547d00d406db2be7c6c175b3.zip |
readahead: code cleanup
Rename file_ra_state.prev_page to prev_index and file_ra_state.offset to
prev_offset. Also update of prev_index in do_generic_mapping_read() is now
moved close to the update of prev_offset.
[wfg@mail.ustc.edu.cn: fix it]
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: WU Fengguang <wfg@mail.ustc.edu.cn>
Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions