s3:smbd: remove code duplication in smb2_create_send()
commit63ac88d40206e3080494e3a4f99858ce5cd6f393
authorMichael Adam <obnox@samba.org>
Wed, 22 May 2013 17:53:12 +0000 (22 19:53 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 4 Jun 2013 18:07:11 +0000 (4 11:07 -0700)
tree7c3208a551c2daf24a69e042ad5091cd1e45aba0
parente6beae4471491c5bfcabeb720c5e92183e78e886
s3:smbd: remove code duplication in smb2_create_send()

Move the calls to smb2srv_open_recreate() from the parsing of
the create blobs (DHNC and DH2C) to a central place in the
open execution phase.
This is also where it should be called: in the durable reconnect
part, right before the call to SMB_VFS_DURABLE_RECONNECT()

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_create.c