diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2011-02-24 19:08:49 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2011-02-24 19:08:49 +0000 |
commit | 30a044d10fcb622768ae100c6732a1cac6c69a4e (patch) | |
tree | 056d1cc42e92fcaead73ad70447cb518ae295774 /target/linux/generic/patches-2.6.38 | |
parent | 2352c3115ca1f316f941689e7bdcab35b4f1aa11 (diff) | |
download | master-187ad058-30a044d10fcb622768ae100c6732a1cac6c69a4e.tar.gz master-187ad058-30a044d10fcb622768ae100c6732a1cac6c69a4e.tar.bz2 master-187ad058-30a044d10fcb622768ae100c6732a1cac6c69a4e.zip |
linux/generic: fix r25699 take II
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25703 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.38')
-rw-r--r-- | target/linux/generic/patches-2.6.38/218-mini_fo_fix_2_6_38.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.38/218-mini_fo_fix_2_6_38.patch b/target/linux/generic/patches-2.6.38/218-mini_fo_fix_2_6_38.patch index f1416eb47e..6807c599a5 100644 --- a/target/linux/generic/patches-2.6.38/218-mini_fo_fix_2_6_38.patch +++ b/target/linux/generic/patches-2.6.38/218-mini_fo_fix_2_6_38.patch @@ -35,3 +35,13 @@ goto out; } } +@@ -148,7 +148,8 @@ mini_fo_d_compare(dentry_t *dentry, qstr + hidden_dentry = dtohd(dentry); + + if (hidden_dentry && hidden_dentry->d_op && hidden_dentry->d_op->d_compare) { +- err = hidden_dentry->d_op->d_compare(hidden_dentry, a, b); ++ err = hidden_dentry->d_op->d_compare(NULL, NULL, NULL, NULL, ++ hidden_dentry->d_name.len, a, b); + } else { + err = ((a->len != b->len) || memcmp(a->name, b->name, b->len)); + } |