diff options
| author | Adrian Bunk <bunk@stusta.de> | 2006-03-28 04:56:26 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-28 12:16:03 -0500 |
| commit | a28af471b8946de052a0eb0c080d5457be93f168 (patch) | |
| tree | e1a17db252831fc2cd7ff206f37b8232a34957e9 | |
| parent | 3b71797eff4352b4295919efc52de84f84d33d94 (diff) | |
[PATCH] fs/fat/: proper prototypes for two functions
Add proper prototypes for fat_cache_init() and fat_cache_destroy() in
msdos_fs.h.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | fs/fat/inode.c | 3 | ||||
| -rw-r--r-- | include/linux/msdos_fs.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 404bfc9f73..c1ce284f8a 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
| @@ -1435,9 +1435,6 @@ out_fail: | |||
| 1435 | 1435 | ||
| 1436 | EXPORT_SYMBOL_GPL(fat_fill_super); | 1436 | EXPORT_SYMBOL_GPL(fat_fill_super); |
| 1437 | 1437 | ||
| 1438 | int __init fat_cache_init(void); | ||
| 1439 | void fat_cache_destroy(void); | ||
| 1440 | |||
| 1441 | static int __init init_fat_fs(void) | 1438 | static int __init init_fat_fs(void) |
| 1442 | { | 1439 | { |
| 1443 | int err; | 1440 | int err; |
diff --git a/include/linux/msdos_fs.h b/include/linux/msdos_fs.h index 779e6a5744..53cee15816 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); | |||
| 420 | extern void fat_date_unix2dos(int unix_date, __le16 *time, __le16 *date); | 420 | extern void fat_date_unix2dos(int unix_date, __le16 *time, __le16 *date); |
| 421 | extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs); | 421 | extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs); |
| 422 | 422 | ||
| 423 | int fat_cache_init(void); | ||
| 424 | void fat_cache_destroy(void); | ||
| 425 | |||
| 423 | #endif /* __KERNEL__ */ | 426 | #endif /* __KERNEL__ */ |
| 424 | 427 | ||
| 425 | #endif | 428 | #endif |
