]> err.no Git - linux-2.6/commitdiff
[PATCH] fs/fat/: proper prototypes for two functions
authorAdrian Bunk <bunk@stusta.de>
Tue, 28 Mar 2006 09:56:26 +0000 (01:56 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 28 Mar 2006 17:16:03 +0000 (09:16 -0800)
Add proper prototypes for fat_cache_init() and fat_cache_destroy() in
msdos_fs.h.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: 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/inode.c
include/linux/msdos_fs.h

index 404bfc9f7385ff1051c4abff11743346d857889f..c1ce284f8a944bf033cdc268aaa13670cff82976 100644 (file)
@@ -1435,9 +1435,6 @@ out_fail:
 
 EXPORT_SYMBOL_GPL(fat_fill_super);
 
-int __init fat_cache_init(void);
-void fat_cache_destroy(void);
-
 static int __init init_fat_fs(void)
 {
        int err;
index 779e6a5744c77e5dbe8b1112af78026ba89a3cba..53cee15816501d535a124cbffc986b7bc583a675 100644 (file)
@@ -420,6 +420,9 @@ extern int date_dos2unix(unsigned short time, unsigned short date);
 extern void fat_date_unix2dos(int unix_date, __le16 *time, __le16 *date);
 extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs);
 
+int fat_cache_init(void);
+void fat_cache_destroy(void);
+
 #endif /* __KERNEL__ */
 
 #endif