git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2818d4
)
s3: Check for serverid_exists in rename_share_filename
author
Volker Lendecke
<vl@samba.org>
Mon, 7 May 2012 13:23:10 +0000
(15:23 +0200)
committer
Jeremy Allison
<jra@samba.org>
Fri, 25 May 2012 16:19:38 +0000
(09:19 -0700)
Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/locking/locking.c
patch
|
blob
|
history
diff --git
a/source3/locking/locking.c
b/source3/locking/locking.c
index 9074d2f0c08dd0dd35606c7afa9cdc1d01f1f417..45074f408677832e2983e4801c403f5795ea79e4 100644
(file)
--- 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",