mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
linux/generic: fix r25699 take II
SVN-Revision: 25703
This commit is contained in:
parent
86265da965
commit
d6b792f659
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user