diff mbox series

[3/3] ovl: Enable support for casefold filesystems

Message ID 20250409-tonyk-overlayfs-v1-3-3991616fe9a3@igalia.com (mailing list archive)
State New
Headers show
Series ovl: Enable support for casefold filesystems | expand

Commit Message

André Almeida April 9, 2025, 3 p.m. UTC
Enable support for casefold filesystems in overlayfs.

Signed-off-by: André Almeida <andrealmeid@igalia.com>
---
 fs/overlayfs/params.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/fs/overlayfs/params.c b/fs/overlayfs/params.c
index 459e8bddf1777c12c9fa0bdfc150e2ea22eaafc3..28a660f09cff2573c648a00363c153be3903aa5b 100644
--- a/fs/overlayfs/params.c
+++ b/fs/overlayfs/params.c
@@ -289,7 +289,7 @@  static int ovl_mount_dir_check(struct fs_context *fc, const struct path *path,
 	 * failures.
 	 */
 	if (sb_has_encoding(path->mnt->mnt_sb))
-		return invalfc(fc, "case-insensitive capable filesystem on %s not supported", name);
+		ovl->casefold = true;
 
 	if (ovl_dentry_weird(path->dentry, ovl))
 		return invalfc(fc, "filesystem on %s not supported", name);