s3/smbd: simplify defer_open()
commitdc328aa2fd17b844ee81211895138b424dd27e8a
authorRalph Boehme <slow@samba.org>
Tue, 7 Mar 2017 13:37:54 +0000 (7 14:37 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Mar 2017 09:51:46 +0000 (14 10:51 +0100)
treee3d250753035f1fa4e4a53c33caa189f854b1388
parent93b789c9694bbd8311b782f15ab5b114ba0c6e1e
s3/smbd: simplify defer_open()

Add a helper function deferred_open_record_create() that creates a
deferred_open_record and let all callers pass all needed arguments
individually.

While we're at it, enhance the debug message in defer_open() to print
all variables.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit b17ff9b181b7b9730d32534e720c45faabfa6799)
source3/smbd/open.c