This file is indexed.

/usr/src/kernel-patches/lustre/patches/md_path_lookup-2.6-suse.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
Index: linux-2.6.4-51.0/drivers/md/dm-path-selector.c
===================================================================
--- linux-2.6.4-51.0.orig/drivers/md/dm-path-selector.c	2004-04-18 20:10:21.000000000 -0400
+++ linux-2.6.4-51.0/drivers/md/dm-path-selector.c	2004-04-18 20:10:59.000000000 -0400
@@ -129,7 +129,7 @@
 	struct path *path;
 };
 
-static struct path_info *path_lookup(struct list_head *head, struct path *p)
+static struct path_info *md_path_lookup(struct list_head *head, struct path *p)
 {
 	struct path_info *pi;
 
@@ -235,9 +235,9 @@
 	 * mind the expense of these searches.
 	 */
 	spin_lock_irqsave(&s->lock, flags);
-	pi = path_lookup(&s->valid_paths, p);
+	pi = md_path_lookup(&s->valid_paths, p);
 	if (!pi)
-		pi = path_lookup(&s->invalid_paths, p);
+		pi = md_path_lookup(&s->invalid_paths, p);
 
 	if (!pi)
 		DMWARN("asked to change the state of an unknown path");