]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE
authorNamjae Jeon <linkinjeon@kernel.org>
Tue, 5 Dec 2023 23:23:49 +0000 (08:23 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jan 2024 14:13:31 +0000 (15:13 +0100)
commit6bbeb3960aad0c6bf847db2f7f0e902780c1e4fe
tree52f569fd3b5405f726dd535e0028fdc28d1bbff5
parentc0c4e9767e57b6693f9a99b4e21f043d810f67a7
ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE

[ Upstream commit 13736654481198e519059d4a2e2e3b20fa9fdb3e ]

MS confirm that "AISi" name of SMB2_CREATE_ALLOCATION_SIZE in MS-SMB2
specification is a typo. cifs/ksmbd have been using this wrong name from
MS-SMB2. It should be "AlSi". Also It will cause problem when running
smb2.create.open test in smbtorture against ksmbd.

Cc: stable@vger.kernel.org
Fixes: 12197a7fdda9 ("Clarify SMB2/SMB3 create context and add missing ones")
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/cifs/smb2pdu.h