]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifs: Add fallback code path for cifs_mkdir_setinfo()
authorPali Rohár <pali@kernel.org>
Mon, 30 Dec 2024 21:18:53 +0000 (22:18 +0100)
committerSteve French <stfrench@microsoft.com>
Fri, 10 Oct 2025 04:01:24 +0000 (23:01 -0500)
commit92210ccd877ba577585e420c99cff2b51c4c9fe2
treec3e950725bc4fdf1f914577adbb7ce99efaafc90
parent88cae132dc0539ad188b787d32a7df4e16b5c1af
cifs: Add fallback code path for cifs_mkdir_setinfo()

Use SMBSetInformation() as a fallback function (when CIFSSMBSetPathInfo()
fails) which can set attribudes on the directory, including changing
read-only attribute.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb1ops.c