X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fdquot.c;h=de9a29f64ff3bd65dd082b08fa74aa18f02b0ab5;hb=4a66af9eaa9531372cfcb9e20103ed147c729ff9;hp=7e273151f58949a09a58ea6d89219b520d8fe72c;hpb=49c13b51a15f1ba9f6d47e26e4a3886c4f3931e2;p=linux-2.6 diff --git a/fs/dquot.c b/fs/dquot.c index 7e273151f5..de9a29f64f 100644 --- a/fs/dquot.c +++ b/fs/dquot.c @@ -1848,11 +1848,11 @@ static int __init dquot_init(void) register_sysctl_table(sys_table); - dquot_cachep = kmem_cache_create("dquot", + dquot_cachep = kmem_cache_create("dquot", sizeof(struct dquot), sizeof(unsigned long) * 4, (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT| SLAB_MEM_SPREAD|SLAB_PANIC), - NULL, NULL); + NULL); order = 0; dquot_hash = (struct hlist_head *)__get_free_pages(GFP_ATOMIC, order);