s3/smbd: use early returns in smbd_smb2_create_send
authorRalph Boehme <slow@samba.org>
Fri, 21 Jul 2017 16:59:55 +0000 (18:59 +0200)
committerRalph Boehme <slow@samba.org>
Sat, 21 Oct 2017 12:00:11 +0000 (14:00 +0200)
commit18a7ea8c0f76fa9c969e6e8563d1f8ad8c65a9c2
tree164b17ecf382ca5a69c93134582b4e3c97024fa7
parente55949c415b5acbeadb463f5eae1ad5782531748
s3/smbd: use early returns in smbd_smb2_create_send

Now that we have the nice smbd_smb2_create_after_exec() and
smbd_smb2_create_finish() functions, use early returns for the create
replay and durable handle reconnect case.

No change in behaviour, best viewed with

$ git show -w COMMIT

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_create.c