Message ID | 20240215042654.359210-7-eugen.hristev@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v10,1/8] ext4: Simplify the handling of cached insensitive names | expand |
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index 6e7af8dc4dde..7d357c417475 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c @@ -1477,6 +1477,9 @@ static bool ext4_match(struct inode *parent, * only case where it happens is on a disk * corruption or ENOMEM. */ + if (ret == -EINVAL) + EXT4_ERROR_INODE(parent, + "Directory contains filename that is invalid UTF-8"); return false; } return ret;