summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-08-08 22:47:04 +1000
committerMichael Adam <obnox@samba.org>2008-08-13 11:54:12 +0200
commit1a4e299c7033cb3d61ccf024b2eeb7409a32b31b (patch)
treea84c8a984da465bff8fe976852068d9486d28655 /source3
parent805bd92973324966318737d5a29b34082e29e4f4 (diff)
downloadsamba-1a4e299c7033cb3d61ccf024b2eeb7409a32b31b.tar.gz
samba-1a4e299c7033cb3d61ccf024b2eeb7409a32b31b.tar.bz2
samba-1a4e299c7033cb3d61ccf024b2eeb7409a32b31b.zip
added a explanatory comment on tcon check
(This used to be commit f2ab2cebb9b81453dc0b6370288b85909182ae49)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index c7bf1daf68..3e816ee62d 100644
--- a/source3/smbd/server.c
+++ b/source3/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 {