summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-05-07 15:23:10 +0200
committerJeremy Allison <jra@samba.org>2012-05-17 13:17:22 -0700
commit4e1656a78265efec3b56c3bf410d7d257b409821 (patch)
treec53a97047b3d4cbe182c471b1be9e089204c28af /source3
parent6379709b88501ea09dff52236d87fab97accbab6 (diff)
downloadsamba-4e1656a78265efec3b56c3bf410d7d257b409821.tar.gz
samba-4e1656a78265efec3b56c3bf410d7d257b409821.tar.bz2
samba-4e1656a78265efec3b56c3bf410d7d257b409821.zip
s3: Check for serverid_exists in rename_share_filename
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/locking/locking.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index df21104028..69a6f26cc1 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",