From 4d657aa39d5bcae60c2c11bf8fb66692ddd1c9e7 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 28 Jul 2000 23:18:56 +0000 Subject: Merge with 2.4.0-test5 final. --- fs/dquot.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'fs/dquot.c') diff --git a/fs/dquot.c b/fs/dquot.c index 15f7dad8f..2271f4746 100644 --- a/fs/dquot.c +++ b/fs/dquot.c @@ -64,8 +64,6 @@ int max_dquots = NR_DQUOTS; static char quotamessage[MAX_QUOTA_MESSAGE]; static char *quotatypes[] = INITQFNAMES; -static kmem_cache_t *dquot_cachep; - static inline struct quota_mount_options *sb_dqopt(struct super_block *sb) { return &sb->s_dquot; @@ -1345,13 +1343,6 @@ void __init dquot_init_hash(void) { printk(KERN_NOTICE "VFS: Diskquotas version %s initialized\n", __DQUOT_VERSION__); - dquot_cachep = kmem_cache_create("dquot", sizeof(struct dquot), - sizeof(unsigned long) * 4, - SLAB_HWCACHE_ALIGN, NULL, NULL); - - if (!dquot_cachep) - panic("Cannot create dquot SLAB cache\n"); - memset(dquot_hash, 0, sizeof(dquot_hash)); memset((caddr_t)&dqstats, 0, sizeof(dqstats)); } -- cgit v1.2.3