Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / kernel_patches / patches / add_page_private.patch
1 Index: linux-ia64/include/linux/mm.h
2 ===================================================================
3 --- linux-ia64.orig/include/linux/mm.h  2004-04-27 12:39:16.000000000 -0700
4 +++ linux-ia64/include/linux/mm.h       2004-04-27 12:42:10.000000000 -0700
5 @@ -205,6 +205,7 @@ typedef struct page {
6         struct page **pprev_hash;       /* Complement to *next_hash. */
7         struct buffer_head * buffers;   /* Buffer maps us to a disk block. */
8 +       unsigned long private;
9  
10         /*
11          * On machines where all RAM is mapped into kernel address space,
12
13 _
14 Index: linux-ia64/mm/filemap.c
15 ===================================================================
16 --- linux-ia64.orig/mm/filemap.c       2004-04-27 12:35:18.000000000 -0700
17 +++ linux-ia64/mm/filemap.c    2004-04-27 12:42:47.000000000 -0700
18 @@ -676,6 +676,7 @@ static inline void __add_to_page_cache(s
19         page_cache_get(page);
20         page->index = offset;
21 +       page->private = 0;
22         add_page_to_inode_queue(mapping, page);
23         add_page_to_hash_queue(page, hash);