]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ksmbd: store fids as opaque u64 integers
authorPaulo Alcantara (SUSE) <pc@cjr.nz>
Mon, 18 Dec 2023 15:32:46 +0000 (00:32 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 09:41:50 +0000 (10:41 +0100)
commita5a8c9133d974be891805748bb9f7d0f7aea7185
treef16f180f12e7c1e9457a41af4a88460b6e8bbdf9
parent170598b6f354ea6723fb7276ed288905ef80b1d9
ksmbd: store fids as opaque u64 integers

[ Upstream commit 2d004c6cae567e33ab2e197757181c72a322451f ]

There is no need to store the fids as le64 integers as they are opaque
to the client and only used for equality.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Tom Talpey <tom@talpey.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ksmbd/smb2pdu.c
fs/ksmbd/smb2pdu.h