Commit d41cc702 authored by Steven Whitehouse's avatar Steven Whitehouse

[GFS2] Export file_ra_state_init

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: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent b381bead
...@@ -38,6 +38,7 @@ file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) ...@@ -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->ra_pages = mapping->backing_dev_info->ra_pages;
ra->prev_page = -1; ra->prev_page = -1;
} }
EXPORT_SYMBOL_GPL(file_ra_state_init);
/* /*
* Return max readahead size for this inode in number-of-pages. * Return max readahead size for this inode in number-of-pages.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment