upgrade the ixp4xx ethernet driver to v0.3.1, split the Gateway 7001 support to two...
[openwrt.git] / package / shfs / patches / 103-dentry.patch
1 diff -urN shfs-0.35.orig/shfs/Linux-2.6/dcache.c shfs-0.35/shfs/Linux-2.6/dcache.c
2 --- shfs-0.35.orig/shfs/Linux-2.6/dcache.c 2004-06-01 09:16:19.000000000 -0400
3 +++ shfs-0.35/shfs/Linux-2.6/dcache.c 2006-03-25 07:08:57.950752296 -0500
4 @@ -68,7 +68,7 @@
5 spin_lock(&dcache_lock);
6 next = parent->d_subdirs.next;
7 while (next != &parent->d_subdirs) {
8 - dentry = list_entry(next, struct dentry, d_child);
9 + dentry = list_entry(next, struct dentry, d_u.d_child);
10 dentry->d_fsdata = NULL;
11 shfs_age_dentry(info, dentry);
12 next = next->next;
13 @@ -101,7 +101,7 @@
14 spin_lock(&dcache_lock);
15 next = parent->d_subdirs.next;
16 while (next != &parent->d_subdirs) {
17 - dent = list_entry(next, struct dentry, d_child);
18 + dent = list_entry(next, struct dentry, d_u.d_child);
19 if ((unsigned long)dent->d_fsdata == fpos) {
20 if (dent->d_inode)
21 dget_locked(dent);
This page took 0.047368 seconds and 5 git commands to generate.