OSDN Git Service

[PATCH] fatfs sectioning fix
authorAndrew Morton <akpm@osdl.org>
Fri, 1 Jul 2005 05:13:14 +0000 (22:13 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 1 Jul 2005 05:29:48 +0000 (22:29 -0700)
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>
fs/fat/cache.c
fs/fat/inode.c

index 7c52e46..77c24fc 100644 (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");
index 3e31c4a..96ae85b 100644 (file)
@@ -1327,7 +1327,7 @@ out_fail:
 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)
 {