Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeedea4
)
b=20451
author
brian
<brian>
Tue, 10 Nov 2009 21:56:06 +0000
(21:56 +0000)
committer
brian
<brian>
Tue, 10 Nov 2009 21:56:06 +0000
(21:56 +0000)
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
patch
|
blob
|
history
diff --git
a/lustre/autoconf/lustre-core.m4
b/lustre/autoconf/lustre-core.m4
index
6e66130
..
a2bcb57
100644
(file)
--- 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 <linux/mm_types.h>
#endif
+ #include <linux/pagemap.h>
],[
struct address_space_operations aops;
struct page *page;