fs/fat/: proper prototypes for two functions
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.
Signed-off-by Adrian Bunk <[email protected]>
---
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;
Quoted 2 lines · Adrian Bunk
This patch adds proper prototypes for
fat_cache_init()andfat_cache_destroy()inmsdos_fs.h.
Looks good. Please apply.
Acked-by OGAWA Hirofumi <[email protected]>
Signature · 1 line
OGAWA Hirofumi <[email protected]>