Commit ef6689ef authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] fatfs sectioning fix

Fixup for the recent slab leak fix

Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent eaf05be0
......@@ -56,7 +56,7 @@ int __init fat_cache_init(void)
return 0;
}
void __exit fat_cache_destroy(void)
void fat_cache_destroy(void)
{
if (kmem_cache_destroy(fat_cache_cachep))
printk(KERN_INFO "fat_cache: not all structures were freed\n");
......
......@@ -1327,7 +1327,7 @@ int fat_fill_super(struct super_block *sb, void *data, int silent,
EXPORT_SYMBOL(fat_fill_super);
int __init fat_cache_init(void);
void __exit fat_cache_destroy(void);
void fat_cache_destroy(void);
static int __init init_fat_fs(void)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment