diff options
Diffstat (limited to 'fs/ext4/dir.c')
-rw-r--r-- | fs/ext4/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c index 884a6e776809..c7843b149a1e 100644 --- a/fs/ext4/dir.c +++ b/fs/ext4/dir.c | |||
@@ -671,7 +671,7 @@ static int ext4_d_compare(const struct dentry *dentry, unsigned int len, | |||
671 | if (!IS_CASEFOLDED(dentry->d_parent->d_inode)) { | 671 | if (!IS_CASEFOLDED(dentry->d_parent->d_inode)) { |
672 | if (len != name->len) | 672 | if (len != name->len) |
673 | return -1; | 673 | return -1; |
674 | return !memcmp(str, name, len); | 674 | return memcmp(str, name->name, len); |
675 | } | 675 | } |
676 | 676 | ||
677 | return ext4_ci_compare(dentry->d_parent->d_inode, name, &qstr); | 677 | return ext4_ci_compare(dentry->d_parent->d_inode, name, &qstr); |