added a explanatory comment on tcon check
authorAndrew Tridgell <tridge@samba.org>
Fri, 8 Aug 2008 12:47:04 +0000 (22:47 +1000)
committerMichael Adam <obnox@samba.org>
Wed, 13 Aug 2008 09:54:12 +0000 (11:54 +0200)
source/smbd/server.c

index c7bf1daf684ce5ff3e1517e3c305579ca7af24dd..3e816ee62de28197cdee24ff4c71747209dd1d75 100644 (file)
@@ -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 {