svn commit: samba r2512 - in branches/SAMBA_4_0/source/smbd: .

abartlet at samba.org abartlet at samba.org
Wed Sep 22 12:02:16 GMT 2004


Author: abartlet
Date: 2004-09-22 12:02:16 +0000 (Wed, 22 Sep 2004)
New Revision: 2512

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/smbd&rev=2512&nolog=1

Log:
Remove unused stub functions.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/smbd/rewrite.c


Changeset:
Modified: branches/SAMBA_4_0/source/smbd/rewrite.c
===================================================================
--- branches/SAMBA_4_0/source/smbd/rewrite.c	2004-09-22 11:48:10 UTC (rev 2511)
+++ branches/SAMBA_4_0/source/smbd/rewrite.c	2004-09-22 12:02:16 UTC (rev 2512)
@@ -6,41 +6,18 @@
  This file will need to go away before the rewrite is complete
 */
 
-void mangle_reset_cache(void) 
-{}
-
-void reset_stat_cache(void)
-{}
-
-
 BOOL set_current_service(void *conn, BOOL x)
 { return True; }
 
 void change_to_root_user(void)
 {}
 
-void load_printers(void)
-{}
-
-void file_init(void)
-{}
-
-BOOL init_oplocks(void)
-{ return True; }
-
-BOOL init_change_notify(void)
-{ return True; }
-
-
 BOOL pcap_printername_ok(const char *service, const char *foo)
 { return True; }
 
 BOOL share_access_check(struct smbsrv_request *req, struct smbsrv_tcon *tcon, int snum, uint32_t desired_access)
 { return True; }
 
-BOOL init_names(void)
-{ return True; }
-
 /*
  * initialize an smb process
  */
@@ -62,14 +39,6 @@
 			DEBUG(2,("Changed root to %s\n", lp_rootdir()));
 	}
 
-	/* Setup oplocks */
-	if (!init_oplocks())
-		exit(1);
-	
-	/* Setup change notify */
-	if (!init_change_notify())
-		exit(1);
-
 	/* Start old-style secrets subsystem */
 	
 	/* We must perform secrets_init(), as it sets up important
@@ -132,8 +101,6 @@
 	
 	ret = lp_load(dyn_CONFIGFILE, False, False, True);
 
-	load_printers();
-
 	/* perhaps the config filename is now set */
 	if (!test)
 		reload_services(smb, True);
@@ -142,9 +109,6 @@
 
 	load_interfaces();
 
-	mangle_reset_cache();
-	reset_stat_cache();
-
 	/* this forces service parameters to be flushed */
 	set_current_service(NULL,True);
 



More information about the samba-cvs mailing list