Skip to content

Commit

Permalink
[GFS2] Export file_ra_state_init
Browse files Browse the repository at this point in the history
Export file_ra_state_init so that its possible to use the already
exported functions which require a struct ra_state as an argument
from a module.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
  • Loading branch information
Steven Whitehouse committed Jan 30, 2006
1 parent b381bea commit d41cc70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm/readahead.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping)
ra->ra_pages = mapping->backing_dev_info->ra_pages;
ra->prev_page = -1;
}
EXPORT_SYMBOL_GPL(file_ra_state_init);

/*
* Return max readahead size for this inode in number-of-pages.
Expand Down

0 comments on commit d41cc70

Please sign in to comment.