s3:smbd: remove old comment about scavenger timer from vfs_default_durable_reconnect()
authorMichael Adam <obnox@samba.org>
Wed, 22 May 2013 18:26:49 +0000 (20:26 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 4 Jun 2013 18:07:11 +0000 (11:07 -0700)
scavenger functionality belongs to the smb layer (and is meanwhile
implemented there).

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/durable.c

index 69ba10989532c7772aa2722e2603b314f0f9b9cd..9b05d48680e7894c238911df27635ae486fac6e2 100644 (file)
@@ -695,20 +695,6 @@ NTSTATUS vfs_default_durable_reconnect(struct connection_struct *conn,
                return NT_STATUS_OBJECT_NAME_NOT_FOUND;
        }
 
-       /*
-        * TODO:
-        * add scavenger timer functionality
-        *
-        * For now we always allow the reconnect
-        */
-#if 0
-       expire_time = op->global->disconnect_time;
-       expire_time += NTTIME_MAGIC(op->global->durable_timeout_msec);
-       if (expire < now) {
-               //TODO reopen and close before telling the client...
-       }
-#endif
-
        /*
         * 2. proceed with opening file
         */