diff options
author | Volker Lendecke <vl@samba.org> | 2014-03-20 14:36:11 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-03-21 19:20:17 +0100 |
commit | c416b34648b6734b7b612d51fa9e151a201768da (patch) | |
tree | 925ac49d6ab23daf1fc56a43d0cf678f59afd5f6 /source3/locking/locking.c | |
parent | b27c5caae39c1724178830adf1df65afff8d46df (diff) | |
download | samba-c416b34648b6734b7b612d51fa9e151a201768da.tar.gz samba-c416b34648b6734b7b612d51fa9e151a201768da.tar.xz samba-c416b34648b6734b7b612d51fa9e151a201768da.zip |
smbd: Explicitly pass "file_id" to rename_share_filename
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/locking/locking.c')
-rw-r--r-- | source3/locking/locking.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 54c92b1470..4ef6b8936a 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -468,6 +468,7 @@ struct share_mode_lock *get_existing_share_mode_lock(TALLOC_CTX *mem_ctx, bool rename_share_filename(struct messaging_context *msg_ctx, struct share_mode_lock *lck, + struct file_id id, const char *servicepath, uint32_t orig_name_hash, uint32_t new_name_hash, @@ -523,7 +524,7 @@ bool rename_share_filename(struct messaging_context *msg_ctx, return False; } - push_file_id_24(frm, &d->id); + push_file_id_24(frm, &id); DEBUG(10,("rename_share_filename: msg_len = %u\n", (unsigned int)msg_len )); @@ -565,7 +566,7 @@ bool rename_share_filename(struct messaging_context *msg_ctx, "pid %s file_id %s sharepath %s base_name %s " "stream_name %s\n", procid_str_static(&se->pid), - file_id_string_tos(&d->id), + file_id_string_tos(&id), d->servicepath, d->base_name, has_stream ? d->stream_name : "")); |