aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2006-03-28 23:52:45 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2006-03-28 23:52:45 +0000
commite4b3e70fe2189f1abb3abd53baea77fac30255de (patch)
treef0c5adac5b208492461d39bb2e09fcefaa4ba121 /target/linux/package
parent67743b7d6e65ea73aa99cadd7575e5791f4fccb0 (diff)
downloadupstream-e4b3e70fe2189f1abb3abd53baea77fac30255de.tar.gz
upstream-e4b3e70fe2189f1abb3abd53baea77fac30255de.tar.bz2
upstream-e4b3e70fe2189f1abb3abd53baea77fac30255de.zip
fix #404
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3537 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package')
-rw-r--r--target/linux/package/shfs/patches/103-dentry.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/package/shfs/patches/103-dentry.patch b/target/linux/package/shfs/patches/103-dentry.patch
new file mode 100644
index 0000000000..83a406a268
--- /dev/null
+++ b/target/linux/package/shfs/patches/103-dentry.patch
@@ -0,0 +1,21 @@
+diff -urN shfs-0.35.orig/shfs/Linux-2.6/dcache.c shfs-0.35/shfs/Linux-2.6/dcache.c
+--- shfs-0.35.orig/shfs/Linux-2.6/dcache.c 2004-06-01 09:16:19.000000000 -0400
++++ shfs-0.35/shfs/Linux-2.6/dcache.c 2006-03-25 07:08:57.950752296 -0500
+@@ -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);