diff options
author | Amir Goldstein <amir73il@gmail.com> | 2025-06-02 19:17:02 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-07-18 11:09:33 +0200 |
commit | 083957f9614a8b2e284dbb3a85c5fec8e2fb26b8 (patch) | |
tree | 90f6b2cc32486611c327a8f39948a628481651f8 /lib/crypto/mpi/mpiutil.c | |
parent | 04060e7860cb2dad21898248f7e7f7575ce44a14 (diff) |
ovl: support layers on case-folding capable filesystems
Case folding is often applied to subtrees and not on an entire
filesystem.
Disallowing layers from filesystems that support case folding is over
limiting.
Replace the rule that case-folding capable are not allowed as layers
with a rule that case folded directories are not allowed in a merged
directory stack.
Should case folding be enabled on an underlying directory while
overlayfs is mounted the outcome is generally undefined.
Specifically in ovl_lookup(), we check the base underlying directory
and fail with -ESTALE and write a warning to kmsg if an underlying
directory case folding is enabled.
Suggested-by: Kent Overstreet <kent.overstreet@linux.dev>
Link: https://lore.kernel.org/linux-fsdevel/20250520051600.1903319-1-kent.overstreet@linux.dev/
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/20250602171702.1941891-1-amir73il@gmail.com
Reviewed-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions