From 6666de1975e596990cc7b031a89ce67000093987 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 7 May 2012 15:23:10 +0200 Subject: s3: Check for serverid_exists in rename_share_filename Signed-off-by: Jeremy Allison Signed-off-by: Stefan Metzmacher --- source3/locking/locking.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3') diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 9074d2f0c0..45074f4086 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", -- cgit