This file is indexed.

/usr/src/kernel-patches/lustre/patches/export-truncate-2.6.18-vanilla.patch is in linux-patch-lustre 1.8.5+dfsg-3ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 include/linux/mm.h |    2 ++
 mm/truncate.c      |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

Index: linux-2.6.27.21-0.1/include/linux/mm.h
===================================================================
--- linux-2.6.27.21-0.1.orig/include/linux/mm.h
+++ linux-2.6.27.21-0.1/include/linux/mm.h
@@ -602,6 +602,8 @@ static __always_inline void *lowmem_page
 {
 	return __va(page_to_pfn(page) << PAGE_SHIFT);
 }
+/* truncate.c */
+extern int truncate_complete_page(struct address_space *mapping,struct page *);
 
 #if defined(CONFIG_HIGHMEM) && !defined(WANT_PAGE_VIRTUAL)
 #define HASHED_PAGE_VIRTUAL
Index: linux-2.6.27.21-0.1/mm/truncate.c
===================================================================
--- linux-2.6.27.21-0.1.orig/mm/truncate.c
+++ linux-2.6.27.21-0.1/mm/truncate.c
@@ -92,7 +92,7 @@ EXPORT_SYMBOL(cancel_dirty_page);
  * its lock, b) when a concurrent invalidate_mapping_pages got there first and
  * c) when tmpfs swizzles a page between a tmpfs inode and swapper_space.
  */
-static int
+int
 truncate_complete_page(struct address_space *mapping, struct page *page)
 {
 	if (page->mapping != mapping)
@@ -107,7 +107,7 @@ truncate_complete_page(struct address_sp
 	page_cache_release(page);	/* pagecache ref */
	return 0;
 }
-
+EXPORT_SYMBOL_GPL(truncate_complete_page);
 /*
  * This is for invalidate_mapping_pages().  That function can be called at
  * any time, and is not supposed to throw away dirty pages.  But pages can