From e6beae4471491c5bfcabeb720c5e92183e78e886 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 22 May 2013 20:26:49 +0200 Subject: s3:smbd: remove old comment about scavenger timer from vfs_default_durable_reconnect() scavenger functionality belongs to the smb layer (and is meanwhile implemented there). Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison --- source3/smbd/durable.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'source3/smbd/durable.c') diff --git a/source3/smbd/durable.c b/source3/smbd/durable.c index 69ba109895..9b05d48680 100644 --- a/source3/smbd/durable.c +++ b/source3/smbd/durable.c @@ -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 */ -- cgit