summaryrefslogtreecommitdiff
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <krisman@collabora.com>2019-05-24 23:48:23 -0400
committerTheodore Ts'o <tytso@mit.edu>2019-05-24 23:48:23 -0400
commit66883da1eee8ad4b38eeff7fa1c86a097d9670fc (patch)
tree2aa59ae58d0ce4f7d01d7b35ecaf9d9bd8abf0a5 /fs/block_dev.c
parentee0ed02ca93ef1ecf8963ad96638795d55af2c14 (diff)
downloadlwn-66883da1eee8ad4b38eeff7fa1c86a097d9670fc.tar.gz
lwn-66883da1eee8ad4b38eeff7fa1c86a097d9670fc.zip
ext4: fix dcache lookup of !casefolded directories
Found by visual inspection, this wasn't caught by my xfstest, since it's effect is ignoring positive dentries in the cache the fallback just goes to the disk. it was introduced in the last iteration of the case-insensitive patch. d_compare should return 0 when the entries match, so make sure we are correctly comparing the entire string if the encoding feature is set and we are on a case-INsensitive directory. Fixes: b886ee3e778e ("ext4: Support case-insensitive file name lookups") Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions