diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-03-28 23:52:45 +0000 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-03-28 23:52:45 +0000 |
commit | e6b1bb058c6afaaa7482dbe4df4386f7c9934023 (patch) | |
tree | f07a31a71dba6d09a4f711fcba27dc1e6e4ea5f4 /openwrt | |
parent | bc1d93f8c2c88e898b6159138c1bef7d006bff75 (diff) | |
download | mtk-20170518-e6b1bb058c6afaaa7482dbe4df4386f7c9934023.zip mtk-20170518-e6b1bb058c6afaaa7482dbe4df4386f7c9934023.tar.gz mtk-20170518-e6b1bb058c6afaaa7482dbe4df4386f7c9934023.tar.bz2 |
fix #404
SVN-Revision: 3537
Diffstat (limited to 'openwrt')
-rw-r--r-- | openwrt/target/linux/package/shfs/patches/103-dentry.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/openwrt/target/linux/package/shfs/patches/103-dentry.patch b/openwrt/target/linux/package/shfs/patches/103-dentry.patch new file mode 100644 index 0000000..83a406a --- /dev/null +++ b/openwrt/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); |