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>
Thu, 1 Jun 2023 04:45:56 +0000 (23:45 -0500)
commit6439e974c7444ba682d2525b4afb8ff03fa8f65e
tree809d8f9c5776cd86ae9c5b6d697471bd271a86cd
parent3b72ff7dd66c8b75e0a35ec3baf478e74b945bf6
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