diff options
author | Volker Lendecke <vl@samba.org> | 2013-04-12 11:41:20 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-04-17 14:49:59 -0700 |
commit | 75911f94b860bcc7186390f5372ede3f6f92024e (patch) | |
tree | dd6a1790df5476d2824a6dbbddb6d2db31d0c4e5 /source3/smbd | |
parent | 97d006ff7d442d718cea95cea4a95404c2da2d9b (diff) | |
download | samba-75911f94b860bcc7186390f5372ede3f6f92024e.tar.gz samba-75911f94b860bcc7186390f5372ede3f6f92024e.tar.bz2 samba-75911f94b860bcc7186390f5372ede3f6f92024e.zip |
smbd: Convert vfs_default_durable_reconnect to synthetic_smb_fname
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/durable.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source3/smbd/durable.c b/source3/smbd/durable.c index 32fa8187e5..cf837aa2cf 100644 --- a/source3/smbd/durable.c +++ b/source3/smbd/durable.c @@ -616,12 +616,10 @@ NTSTATUS vfs_default_durable_reconnect(struct connection_struct *conn, } /* Create an smb_filename with stream_name == NULL. */ - status = create_synthetic_smb_fname(talloc_tos(), - cookie.base_name, - NULL, NULL, - &smb_fname); - if (!NT_STATUS_IS_OK(status)) { - return status; + smb_fname = synthetic_smb_fname(talloc_tos(), cookie.base_name, + NULL, NULL); + if (smb_fname == NULL) { + return NT_STATUS_NO_MEMORY; } ret = SMB_VFS_LSTAT(conn, smb_fname); |