[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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Andrew Morton 2005-06-30 22:13:14 -07:00 committed by Linus Torvalds
parent eaf05be039
commit ef6689eff4
2 changed files with 2 additions and 2 deletions

View file

@ -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");

View file

@ -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)
{