aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-07-01 01:13:14 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-07-01 01:29:48 -0400
commitef6689eff4b58273fed9e54293a3da983b321e9a (patch)
treef7c88505374a9b5e14a8d35800ebd7aa846a7cc1 /fs
parenteaf05be039cf5adfba5b1846452ce89646110fdb (diff)
[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>
Diffstat (limited to 'fs')
-rw-r--r--fs/fat/cache.c2
-rw-r--r--fs/fat/inode.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/cache.c b/fs/fat/cache.c
index 7c52e465a619..77c24fcf712a 100644
--- a/fs/fat/cache.c
+++ b/fs/fat/cache.c
@@ -56,7 +56,7 @@ int __init fat_cache_init(void)
56 return 0; 56 return 0;
57} 57}
58 58
59void __exit fat_cache_destroy(void) 59void fat_cache_destroy(void)
60{ 60{
61 if (kmem_cache_destroy(fat_cache_cachep)) 61 if (kmem_cache_destroy(fat_cache_cachep))
62 printk(KERN_INFO "fat_cache: not all structures were freed\n"); 62 printk(KERN_INFO "fat_cache: not all structures were freed\n");
diff --git a/fs/fat/inode.c b/fs/fat/inode.c
index 3e31c4a736f1..96ae85b67eba 100644
--- a/fs/fat/inode.c
+++ b/fs/fat/inode.c
@@ -1327,7 +1327,7 @@ out_fail:
1327EXPORT_SYMBOL(fat_fill_super); 1327EXPORT_SYMBOL(fat_fill_super);
1328 1328
1329int __init fat_cache_init(void); 1329int __init fat_cache_init(void);
1330void __exit fat_cache_destroy(void); 1330void fat_cache_destroy(void);
1331 1331
1332static int __init init_fat_fs(void) 1332static int __init init_fat_fs(void)
1333{ 1333{