From 66beff7dd0483a5bb7591d7e5e85e5de96b5dbe7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 15 Apr 2013 11:22:43 +0200 Subject: [PATCH] smbd: Convert msg_file_was_renamed to synthetic_smb_fname Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/smbd/open.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 2587d0966f8..ab83a043fda 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -3282,9 +3282,9 @@ void msg_file_was_renamed(struct messaging_context *msg, stream_name = NULL; } - status = create_synthetic_smb_fname(talloc_tos(), base_name, - stream_name, NULL, &smb_fname); - if (!NT_STATUS_IS_OK(status)) { + smb_fname = synthetic_smb_fname(talloc_tos(), base_name, + stream_name, NULL); + if (smb_fname == NULL) { return; } -- 2.11.4.GIT