projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b381bea
)
[GFS2] Export file_ra_state_init
author
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 30 Jan 2006 08:53:33 +0000
(08:53 +0000)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 30 Jan 2006 08:53:33 +0000
(08:53 +0000)
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>
mm/readahead.c
patch
|
blob
|
history
diff --git
a/mm/readahead.c
b/mm/readahead.c
index
8d6eeaa
..
9f0b982
100644
(file)
--- 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)
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.