2006-03-26 21:08:29

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] 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(-)

--- 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;


2006-03-27 06:15:04

by OGAWA Hirofumi

[permalink] [raw]
Subject: Re: [2.6 patch] fs/fat/: proper prototypes for two functions

Adrian Bunk <[email protected]> writes:

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

Looks good. Please apply.

Acked-by: OGAWA Hirofumi <[email protected]>
--
OGAWA Hirofumi <[email protected]>