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-25 09:19:38 -0700
commit6666de1975e596990cc7b031a89ce67000093987 (patch)
treee58e1c116240d14c6bf6f436d71690280fea5a01 /source3
parente2818d4a0b87bf9ff8b2dc14698fa14c7e695c23 (diff)
downloadsamba-6666de1975e596990cc7b031a89ce67000093987.tar.gz
samba-6666de1975e596990cc7b031a89ce67000093987.tar.bz2
samba-6666de1975e596990cc7b031a89ce67000093987.zip
s3: Check for serverid_exists in rename_share_filename
Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@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 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",