From 1b277bf387d004d27c3b6a0607e280bd7b2b911c Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 10 Nov 2009 21:56:06 +0000 Subject: [PATCH] b=20451 i=yangsheng i=johann Evidently (Ubuntu's, at least) 2.6.28 needs to include linux/pagemap.h to get the prototype for grab_cache_page_write_begin(). --- lustre/autoconf/lustre-core.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 6e66130..a2bcb57 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -1635,6 +1635,7 @@ LB_LINUX_TRY_COMPILE([ #ifdef HAVE_LINUX_MMTYPES_H #include #endif + #include ],[ struct address_space_operations aops; struct page *page; -- 1.8.3.1