diff --git a/fs/fat/cache.c b/fs/fat/cache.c index 7c52e465a61903e21f319ffa661236055aa6d1de..77c24fcf712aefdc626781eee7a5bcbb10c62493 100644 --- a/fs/fat/cache.c +++ b/fs/fat/cache.c @@ -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"); diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 3e31c4a736f1832a088782cb32790a88593a50e9..96ae85b67eba6800ab9982f0afeb041bd53bd5bf 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -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) {