/* 09Apr2002 Andrew Morton Initial version. Initialise a struct file's readahead state. Assumes that the caller has memset *ra to zero.  */
void file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping)
/* 09Apr2002 Andrew Morton Initial version. Initialise a struct file's readahead state. Assumes that the caller has memset *ra to zero.  */
void file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping)
{
	ra->ra_pages = mapping->backing_dev_info->ra_pages;
	ra->prev_pos = -1;
}