linux/generic: fix r25699 take II

SVN-Revision: 25703
This commit is contained in:
Alexandros C. Couloumbis 2011-02-24 19:08:49 +00:00
parent 86265da965
commit d6b792f659

View file

@ -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));
}