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:
a958c6b
)
added a explanatory comment on tcon check
author
Andrew Tridgell
<tridge@samba.org>
Fri, 8 Aug 2008 12:47:04 +0000
(22:47 +1000)
committer
Michael Adam
<obnox@samba.org>
Wed, 13 Aug 2008 09:54:12 +0000
(11:54 +0200)
source/smbd/server.c
patch
|
blob
|
history
diff --git
a/source/smbd/server.c
b/source/smbd/server.c
index c7bf1daf684ce5ff3e1517e3c305579ca7af24dd..3e816ee62de28197cdee24ff4c71747209dd1d75 100644
(file)
--- a/
source/smbd/server.c
+++ b/
source/smbd/server.c
@@
-953,6
+953,10
@@
static void exit_server_common(enum server_exit_reason how,
(reason ? reason : "normal exit")));
}
+ /* if we had any open SMB connections when we exited then we
+ need to tell the parent smbd so that it can trigger a retry
+ of any locks we may have been holding or open files we were
+ blocking */
if (had_open_conn) {
exit(1);
} else {