From 4e1656a78265efec3b56c3bf410d7d257b409821 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 7 May 2012 15:23:10 +0200 Subject: [PATCH] s3: Check for serverid_exists in rename_share_filename Signed-off-by: Jeremy Allison --- source3/locking/locking.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/locking/locking.c b/source3/locking/locking.c index df211040285..69a6f26cc11 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -556,6 +556,10 @@ bool rename_share_filename(struct messaging_context *msg_ctx, continue; } + if (share_mode_stale_pid(d, i)) { + continue; + } + DEBUG(10,("rename_share_filename: sending rename message to " "pid %s file_id %s sharepath %s base_name %s " "stream_name %s\n", -- 2.11.4.GIT