linux/generic: fix r25699 take II
authorAlexandros C. Couloumbis <alex@ozo.com>
Thu, 24 Feb 2011 19:08:49 +0000 (19:08 +0000)
committerAlexandros C. Couloumbis <alex@ozo.com>
Thu, 24 Feb 2011 19:08:49 +0000 (19:08 +0000)
SVN-Revision: 25703

target/linux/generic/patches-2.6.38/218-mini_fo_fix_2_6_38.patch

index f1416eb47e2fe84a84e04ee0c16ed447a8ce445b..6807c599a5b9ab9822c2bbf99a5d3c3f0e3373da 100644 (file)
                        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));
+       }