Skip to content

Commit

Permalink
[PATCH] fs/fat/: proper prototypes for two functions
Browse files Browse the repository at this point in the history
Add proper prototypes for fat_cache_init() and fat_cache_destroy() in
msdos_fs.h.

Signed-off-by: Adrian Bunk <[email protected]>
Acked-by: OGAWA Hirofumi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AdrianBunk authored and Linus Torvalds committed Mar 28, 2006
1 parent 3b71797 commit a28af47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/fat/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1435,9 +1435,6 @@ int fat_fill_super(struct super_block *sb, void *data, int silent,

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;
Expand Down
3 changes: 3 additions & 0 deletions include/linux/msdos_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a28af47

Please sign in to comment.