diff options
Diffstat (limited to 'fs/adfs')
-rw-r--r-- | fs/adfs/dir.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/adfs/dir.c b/fs/adfs/dir.c index f4287e4de744..c8ed66162bd4 100644 --- a/fs/adfs/dir.c +++ b/fs/adfs/dir.c | |||
@@ -237,17 +237,19 @@ adfs_hash(struct dentry *parent, struct qstr *qstr) | |||
237 | * requirements of the underlying filesystem. | 237 | * requirements of the underlying filesystem. |
238 | */ | 238 | */ |
239 | static int | 239 | static int |
240 | adfs_compare(struct dentry *parent, struct qstr *entry, struct qstr *name) | 240 | adfs_compare(const struct dentry *parent, const struct inode *pinode, |
241 | const struct dentry *dentry, const struct inode *inode, | ||
242 | unsigned int len, const char *str, const struct qstr *name) | ||
241 | { | 243 | { |
242 | int i; | 244 | int i; |
243 | 245 | ||
244 | if (entry->len != name->len) | 246 | if (len != name->len) |
245 | return 1; | 247 | return 1; |
246 | 248 | ||
247 | for (i = 0; i < name->len; i++) { | 249 | for (i = 0; i < name->len; i++) { |
248 | char a, b; | 250 | char a, b; |
249 | 251 | ||
250 | a = entry->name[i]; | 252 | a = str[i]; |
251 | b = name->name[i]; | 253 | b = name->name[i]; |
252 | 254 | ||
253 | if (a >= 'A' && a <= 'Z') | 255 | if (a >= 'A' && a <= 'Z') |