aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/filemap.c1
-rw-r--r--mm/readahead.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 3ef20739e725..1120338a5d0f 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -1012,6 +1012,7 @@ success:
1012 desc->arg.buf += size; 1012 desc->arg.buf += size;
1013 return size; 1013 return size;
1014} 1014}
1015EXPORT_SYMBOL(file_read_actor);
1015 1016
1016/* 1017/*
1017 * This is the "read()" routine for all filesystems 1018 * This is the "read()" routine for all filesystems
diff --git a/mm/readahead.c b/mm/readahead.c
index 0f142a40984b..ba7db816f4c8 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}
41EXPORT_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.