cifs: Avoid a cast in add_lease_context()
authorVolker Lendecke <vl@samba.org>
Fri, 17 Mar 2023 11:15:22 +0000 (11:15 +0000)
committerSteve French <stfrench@microsoft.com>
Mon, 24 Apr 2023 02:16:57 +0000 (21:16 -0500)
commit919e57c3147ce66ed0887168e622c5e7a8f04440
treea412e5930381d8d0ebdbad620b89e8bf7ca42db6
parentd2ec43b51521b4c83313df60d8b03a6640374c20
cifs: Avoid a cast in add_lease_context()

We have the correctly-typed struct smb2_create_req * available in the
caller.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by Ralph Boehme <slow@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c