[2.6 patch] fs/fat/: proper prototypes for two functions

From: Adrian Bunk
Date: Sun Mar 26 2006 - 16:05:32 EST


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

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

fs/fat/inode.c | 3 ---
include/linux/msdos_fs.h | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.16-mm1-full/include/linux/msdos_fs.h.old 2006-03-26 19:58:45.000000000 +0200
+++ linux-2.6.16-mm1-full/include/linux/msdos_fs.h 2006-03-26 19:59:03.000000000 +0200
@@ -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
--- linux-2.6.16-mm1-full/fs/fat/inode.c.old 2006-03-26 19:59:16.000000000 +0200
+++ linux-2.6.16-mm1-full/fs/fat/inode.c 2006-03-26 19:59:29.000000000 +0200
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/