patch-2.3.99-pre3 linux/net/khttpd/main.c

Next file: linux/net/khttpd/security.c
Previous file: linux/net/irda/qos.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre2/linux/net/khttpd/main.c linux/net/khttpd/main.c
@@ -198,7 +198,6 @@
 	
 	DECLARE_WAIT_QUEUE_HEAD(WQ);
 	
-	MOD_INC_USE_COUNT;
 	
 	sprintf(current->comm,"khttpd manager");
 	lock_kernel();   /* This seems to be required for exit_mm */
@@ -347,6 +346,8 @@
 int __init khttpd_init(void)
 {
 	int I;
+
+	MOD_INC_USE_COUNT;
 	
 	I=0;
 	while (I<CONFIG_KHTTPD_NUMCPU)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)