diff --git a/mm/filemap.c b/mm/filemap.c
index 8bd498040f32562cf2f9a1dcc2d278173d5af50c..379ff0bcbf6e88eb98e13550853fa215cbc25789 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -441,6 +441,7 @@ int filemap_write_and_wait_range(struct address_space *mapping,
 	}
 	return err;
 }
+EXPORT_SYMBOL(filemap_write_and_wait_range);
 
 /**
  * add_to_page_cache_locked - add a locked page to the pagecache