]> err.no Git - linux-2.6/commitdiff
[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 7c52e465a61903e21f319ffa661236055aa6d1de..77c24fcf712aefdc626781eee7a5bcbb10c62493 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 3e31c4a736f1832a088782cb32790a88593a50e9..96ae85b67eba6800ab9982f0afeb041bd53bd5bf 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)
 {