Skip to contentSkip to conversation

fs/fat/: proper prototypes for two functions

PATCH In review Adrian Bunk 2 participants 2 messages Mar 26, 2006 – Mar 27, 2006 VFAT/FAT/msdos filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/fat/: proper prototypes for two functions

This patch adds proper prototypes for fat_cache_init() and fat_cache_destroy() in msdos_fs.h.

---

 fs/fat/inode.c           |    3 ---
 include/linux/msdos_fs.h |    3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)
include/linux/msdos_fs.h renamed from include/linux/msdos_fs.h.old +3 -0
@@ -420,6 +420,9 @@
 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
fs/fat/inode.c renamed from fs/fat/inode.c.old +0 -3
@@ -1435,9 +1435,6 @@
 
 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;