diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-01-30 03:53:33 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-01-30 03:53:33 -0500 |
commit | d41cc702cc4ba3782ebe3b2e189633607d5ccd6a (patch) | |
tree | d893f6f84df3da9ed3adfbe571902e1187e2030d /mm/readahead.c | |
parent | b381beadee8a3d6e690d30bdccddd08ab024945e (diff) |
[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: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'mm/readahead.c')
-rw-r--r-- | mm/readahead.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/readahead.c b/mm/readahead.c index 8d6eeaaa6296..9f0b98227b41 100644 --- a/mm/readahead.c +++ b/mm/readahead.c | |||
@@ -38,6 +38,7 @@ file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping) | |||
38 | ra->ra_pages = mapping->backing_dev_info->ra_pages; | 38 | ra->ra_pages = mapping->backing_dev_info->ra_pages; |
39 | ra->prev_page = -1; | 39 | ra->prev_page = -1; |
40 | } | 40 | } |
41 | EXPORT_SYMBOL_GPL(file_ra_state_init); | ||
41 | 42 | ||
42 | /* | 43 | /* |
43 | * Return max readahead size for this inode in number-of-pages. | 44 | * Return max readahead size for this inode in number-of-pages. |