summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-10-28 16:22:28 -0800
committerJens Axboe <axboe@suse.de>2002-10-28 16:22:28 -0800
commit6b390b3b243a3e6bb1ccb476f6028f6b2f30e4e8 (patch)
tree049bc83adb035d10ad2b3d9491d9699c1094b7a9 /kernel
parent4a4c6811f4fb8aa7f59fbb04c678e48d080e1071 (diff)
[PATCH] add a file_ra_state init function
Provide a function in core kernel to initialise a file_ra_state structure. Perviously this was all taken care of by the fact that new struct file's are all zeroed out. But now a file_ra_state may be independently allocated, and we don't want users of it to have to know how to initialise it.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/ksyms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/ksyms.c b/kernel/ksyms.c
index a595cc65382d..190fb0c1f0cb 100644
--- a/kernel/ksyms.c
+++ b/kernel/ksyms.c
@@ -228,6 +228,7 @@ EXPORT_SYMBOL(generic_block_bmap);
EXPORT_SYMBOL(generic_file_read);
EXPORT_SYMBOL(generic_file_sendfile);
EXPORT_SYMBOL(do_generic_mapping_read);
+EXPORT_SYMBOL(file_ra_state_init);
EXPORT_SYMBOL(generic_file_write);
EXPORT_SYMBOL(generic_file_write_nolock);
EXPORT_SYMBOL(generic_file_mmap);