patch-2.1.101 linux/init/main.c

Next file: linux/kernel/capability.c
Previous file: linux/include/linux/timex.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/init/main.c linux/init/main.c
@@ -64,7 +64,6 @@
 extern int kswapd(void *);
 extern void kswapd_setup(void);
 
-extern void dquot_init(void);
 extern void init_IRQ(void);
 extern void init_modules(void);
 extern long console_init(long, long);
@@ -284,6 +283,9 @@
 #if defined(CONFIG_SYSVIPC)
 extern void ipc_init(void);
 #endif
+#if defined(CONFIG_QUOTA)
+extern void dquot_init_hash(void);
+#endif
 
 #ifdef CONFIG_MD_BOOT
 extern void md_setup(char *str,int *ints) __init;
@@ -1060,7 +1062,9 @@
 #if defined(CONFIG_SYSVIPC)
 	ipc_init();
 #endif
-	dquot_init();
+#if defined(CONFIG_QUOTA)
+	dquot_init_hash();
+#endif
 	check_bugs();
 
 	printk("POSIX conformance testing by UNIFIX\n");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov