Skip to content
Snippets Groups Projects
Commit aa8afe85 authored by Gabriel Krisman Bertazi's avatar Gabriel Krisman Bertazi Committed by Gabriel Krisman Bertazi
Browse files

f2fs: Enable negative dentries on case-insensitive lookup


Instead of invalidating negative dentries during case-insensitive
lookups, mark them as such and let them be added to the dcache.
d_ci_revalidate is able to properly filter them out if necessary based
on the dentry casefold flag.

Signed-off-by: default avatarGabriel Krisman Bertazi <krisman@collabora.com>
Reviewed-by: default avatarEric Biggers <ebiggers@google.com>
---
Changes since v5:
  - Use IS_CASEFOLDED directly (eric)
Changes since v4:
  - Use helper to decide if should set dentry flag.

Changes since v2:
  - Move dentry flag set closer to fscrypt code (Eric)
parent 6ded76ea
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment