SOURCES: shfs-d_entry.patch (NEW) - Patch fixing d_entry struct ch...

japhy japhy at pld-linux.org
Mon May 8 17:33:34 CEST 2006


Author: japhy                        Date: Mon May  8 15:33:34 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- Patch fixing d_entry struct change in 2.6.16

---- Files affected:
SOURCES:
   shfs-d_entry.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/shfs-d_entry.patch
diff -u /dev/null SOURCES/shfs-d_entry.patch:1.1
--- /dev/null	Mon May  8 17:33:34 2006
+++ SOURCES/shfs-d_entry.patch	Mon May  8 17:33:29 2006
@@ -0,0 +1,20 @@
+--- shfs/Linux-2.6/dcache.c	2004-06-01 15:16:19.000000000 +0200
++++ shfs/Linux-2.6/dcache.c	2006-02-17 17:36:02.000000000 +0100
+@@ -68,7 +68,7 @@
+ 	spin_lock(&dcache_lock);
+ 	next = parent->d_subdirs.next;
+ 	while (next != &parent->d_subdirs) {
+-		dentry = list_entry(next, struct dentry, d_child);
++		dentry = list_entry(next, struct dentry, d_u.d_child);
+ 		dentry->d_fsdata = NULL;
+ 		shfs_age_dentry(info, dentry);
+ 		next = next->next;
+@@ -101,7 +101,7 @@
+ 	spin_lock(&dcache_lock);
+ 	next = parent->d_subdirs.next;
+ 	while (next != &parent->d_subdirs) {
+-		dent = list_entry(next, struct dentry, d_child);
++		dent = list_entry(next, struct dentry, d_u.d_child);
+ 		if ((unsigned long)dent->d_fsdata == fpos) {
+ 			if (dent->d_inode)
+ 				dget_locked(dent);
================================================================


More information about the pld-cvs-commit mailing list