On Tue, Jan 13, 2026 at 2:47 AM Chuck Lever <[email protected]> wrote:
>
> From: Chuck Lever <[email protected]>
>
> ksmbd hard-codes FILE_CASE_SENSITIVE_SEARCH and
> FILE_CASE_PRESERVED_NAMES in FS_ATTRIBUTE_INFORMATION responses,
> incorrectly indicating all exports are case-sensitive. This breaks
> clients accessing case-insensitive filesystems like exFAT or
> ext4/f2fs directories with casefold enabled.
>
> Query actual case behavior via vfs_fileattr_get() and report accurate
> attributes to SMB clients. Filesystems without ->fileattr_get continue
> reporting default POSIX behavior (case-sensitive, case-preserving).
>
> SMB's FS_ATTRIBUTE_INFORMATION reports per-share attributes from the
> share root, not per-file. Shares mixing casefold and non-casefold
> directories report the root directory's behavior.
>
> Signed-off-by: Chuck Lever <[email protected]>
Acked-by: Namjae Jeon <[email protected]>
Thanks!


_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to