readahead: code cleanup
authorJan Kara <[email protected]>
Sun, 6 May 2007 21:49:26 +0000 (14:49 -0700)
committerLinus Torvalds <[email protected]>
Mon, 7 May 2007 19:12:52 +0000 (12:12 -0700)
commit6ce745ed39d35f9d547d00d406db2be7c6c175b3
tree16f471389c9f619c37891fdb6e1843e1f2721c78
parentec0f16372277052a29a6c17527c6cae5e898b3fd
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.

[[email protected]: fix it]
Signed-off-by: Jan Kara <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: WU Fengguang <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/fs.h
mm/filemap.c
mm/readahead.c