cifs: Simplify SMB2_open_init()
authorVolker Lendecke <vl@samba.org>
Thu, 30 Mar 2023 12:04:46 +0000 (12:04 +0000)
committerSteve French <stfrench@microsoft.com>
Mon, 24 Apr 2023 01:31:44 +0000 (20:31 -0500)
commit2a8d1387ed985341364b471ad63e323431ef6c4a
tree77206a26e749a6b26c09655c1a907369d7189966
parent5ec629e037ac5872139ebcac0c6af7d8675bbe6b
cifs: Simplify SMB2_open_init()

Reduce code duplication by stitching together create contexts in one
place.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c