[PATCH] fs/fat/: proper prototypes for two functions
Changes
2 files changed · +3 −3
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| fs/fat/inode.c | modified | +0 | −3 | View file |
| include/linux/msdos_fs.h | modified | +3 | −0 | View file |
fs/fat/inode.c
View filediff --git a/fs/fat/inode.c b/fs/fat/inode.c
index 404bfc9..c1ce284 100644
--- a/fs/fat/inode.c
+++ b/fs/fat/inode.c
@@ -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;
include/linux/msdos_fs.h
View filediff --git a/include/linux/msdos_fs.h b/include/linux/msdos_fs.h
index 779e6a5..53cee15 100644
--- a/include/linux/msdos_fs.h
+++ b/include/linux/msdos_fs.h
@@ -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