summaryrefslogtreecommitdiff
path: root/target/linux/generic
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2011-02-24 19:08:49 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2011-02-24 19:08:49 +0000
commitd6b792f659ed641d2e3631d0df875a203a7fb5c9 (patch)
treee11bf1efae4c737007e8e07ce6ef4c8fd937ca95 /target/linux/generic
parent86265da9654051b3b3beaaf3edab9f4e15148db4 (diff)
downloadmtk-20170518-d6b792f659ed641d2e3631d0df875a203a7fb5c9.zip
mtk-20170518-d6b792f659ed641d2e3631d0df875a203a7fb5c9.tar.gz
mtk-20170518-d6b792f659ed641d2e3631d0df875a203a7fb5c9.tar.bz2
linux/generic: fix r25699 take II
SVN-Revision: 25703
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/patches-2.6.38/218-mini_fo_fix_2_6_38.patch10
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 f1416eb..6807c59 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));
+ }