--- ./include/linux/mm.h.old	2005-05-05 10:42:33.000000000 -0400
+++ ./include/linux/mm.h	2005-05-05 10:43:17.000000000 -0400
@@ -712,6 +712,10 @@
 /* generic vm_area_ops exported for stackable file systems */
 struct page *filemap_nopage(struct vm_area_struct *, unsigned long, int *);
 
+/* added for Lustre CAS */
+int filemap_populate(struct vm_area_struct *, unsigned long, unsigned long,
+		pgprot_t, unsigned long, int);
+
 /* mm/page-writeback.c */
 int write_one_page(struct page *page, int wait);
 
--- ./mm/filemap.c.old	2005-05-05 10:40:29.000000000 -0400
+++ ./mm/filemap.c	2005-05-05 10:42:05.000000000 -0400
@@ -1509,6 +1509,8 @@
 
 	return 0;
 }
+/* added for Lustre CAS */
+EXPORT_SYMBOL_GPL(filemap_populate);
 
 struct vm_operations_struct generic_file_vm_ops = {
 	.nopage		= filemap_nopage,
