From: Volker Lendecke Date: Mon, 7 May 2012 13:23:10 +0000 (+0200) Subject: s3: Check for serverid_exists in rename_share_filename X-Git-Tag: samba-4.0.0alpha21~92 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e1656a78265efec3b56c3bf410d7d257b409821;p=thirdparty%2Fsamba.git s3: Check for serverid_exists in rename_share_filename Signed-off-by: Jeremy Allison --- 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",