smbd: Slightly simplify smb2srv_open_recreate()
authorVolker Lendecke <vl@samba.org>
Wed, 4 Jan 2023 13:05:55 +0000 (14:05 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 18 Jan 2023 11:49:38 +0000 (11:49 +0000)
commitd55880d93dc46bf09b4de1a848a1c46e5de2302d
tree17d2a0e22464c24b5b93c37d4b980ffb93456bd9
parent8fbadada8c00ff7df311bd7868011f01e797a4e8
smbd: Slightly simplify smb2srv_open_recreate()

This moves the bit-fiddling right next to the check we do,
"global_zeros" was only used for this one purpose and its assignment
was a few lines away.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smbXsrv_open.c