git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc3b7d7
)
s3: Check for serverid_exists in close_remove_share_mode
author
Volker Lendecke
<vl@samba.org>
Mon, 7 May 2012 13:23:29 +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/smbd/close.c
patch
|
blob
|
history
diff --git
a/source3/smbd/close.c
b/source3/smbd/close.c
index 354a68c546c6a006fc549fde0db691b741343b27..e91e2199a80f44355b6725744575829f07340edc 100644
(file)
--- a/
source3/smbd/close.c
+++ b/
source3/smbd/close.c
@@
-425,6
+425,9
@@
static NTSTATUS close_remove_share_mode(files_struct *fsp,
if (fsp->posix_open && (e->flags & SHARE_MODE_FLAG_POSIX_OPEN)) {
continue;
}
+ if (share_mode_stale_pid(lck->data, i)) {
+ continue;
+ }
delete_file = False;
break;
}