patch-2.4.5 linux/fs/dquot.c
Next file: linux/fs/ext2/super.c
Previous file: linux/fs/devices.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun May 20 11:32:11 2001
- Orig file:
v2.4.4/linux/fs/dquot.c
- Orig date:
Fri Feb 16 16:06:17 2001
diff -u --recursive --new-file v2.4.4/linux/fs/dquot.c linux/fs/dquot.c
@@ -1343,13 +1343,12 @@
}
-void __init dquot_init_hash(void)
+static int __init dquot_init(void)
{
printk(KERN_NOTICE "VFS: Diskquotas version %s initialized\n", __DQUOT_VERSION__);
-
- memset(dquot_hash, 0, sizeof(dquot_hash));
- memset((caddr_t)&dqstats, 0, sizeof(dqstats));
+ return 0;
}
+__initcall(dquot_init);
/*
* Definitions of diskquota operations.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)