diff options
author | Volker Lendecke <vl@samba.org> | 2013-04-15 11:22:43 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-04-17 14:50:02 -0700 |
commit | 66beff7dd0483a5bb7591d7e5e85e5de96b5dbe7 (patch) | |
tree | dfe3f6fd43303440bf3543de594b00ce77bd59e8 /source3/smbd | |
parent | 39c5a77b0a03916477309332913cd5a346c46472 (diff) | |
download | samba-66beff7dd0483a5bb7591d7e5e85e5de96b5dbe7.tar.gz samba-66beff7dd0483a5bb7591d7e5e85e5de96b5dbe7.tar.bz2 samba-66beff7dd0483a5bb7591d7e5e85e5de96b5dbe7.zip |
smbd: Convert msg_file_was_renamed 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/open.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 2587d0966f..ab83a043fd 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; } |