From: Fengguang Wu Date: Tue, 16 Oct 2007 08:24:33 +0000 (-0700) Subject: readahead: combine file_ra_state.prev_index/prev_offset into prev_pos X-Git-Tag: v2.6.24-rc1~1235 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4e6b498d6e06742d72706ef50593a9c4dd72214;p=pandora-kernel.git readahead: combine file_ra_state.prev_index/prev_offset into prev_pos Combine the file_ra_state members unsigned long prev_index unsigned int prev_offset into loff_t prev_pos It is more consistent and better supports huge files. Thanks to Peter for the nice proposal! [akpm@linux-foundation.org: fix shift overflow] Cc: Peter Zijlstra Signed-off-by: Fengguang Wu Cc: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed