diff options
Diffstat (limited to 'include/linux/msdos_fs.h')
| -rw-r--r-- | include/linux/msdos_fs.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/msdos_fs.h b/include/linux/msdos_fs.h index 779e6a5744c7..d9035c73e5d1 100644 --- a/include/linux/msdos_fs.h +++ b/include/linux/msdos_fs.h | |||
| @@ -334,7 +334,7 @@ extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys, | |||
| 334 | unsigned long *mapped_blocks); | 334 | unsigned long *mapped_blocks); |
| 335 | 335 | ||
| 336 | /* fat/dir.c */ | 336 | /* fat/dir.c */ |
| 337 | extern struct file_operations fat_dir_operations; | 337 | extern const struct file_operations fat_dir_operations; |
| 338 | extern int fat_search_long(struct inode *inode, const unsigned char *name, | 338 | extern int fat_search_long(struct inode *inode, const unsigned char *name, |
| 339 | int name_len, struct fat_slot_info *sinfo); | 339 | int name_len, struct fat_slot_info *sinfo); |
| 340 | extern int fat_dir_empty(struct inode *dir); | 340 | extern int fat_dir_empty(struct inode *dir); |
| @@ -397,7 +397,7 @@ extern int fat_count_free_clusters(struct super_block *sb); | |||
| 397 | /* fat/file.c */ | 397 | /* fat/file.c */ |
| 398 | extern int fat_generic_ioctl(struct inode *inode, struct file *filp, | 398 | extern int fat_generic_ioctl(struct inode *inode, struct file *filp, |
| 399 | unsigned int cmd, unsigned long arg); | 399 | unsigned int cmd, unsigned long arg); |
| 400 | extern struct file_operations fat_file_operations; | 400 | extern const struct file_operations fat_file_operations; |
| 401 | extern struct inode_operations fat_file_inode_operations; | 401 | extern struct inode_operations fat_file_inode_operations; |
| 402 | extern int fat_notify_change(struct dentry * dentry, struct iattr * attr); | 402 | extern int fat_notify_change(struct dentry * dentry, struct iattr * attr); |
| 403 | extern void fat_truncate(struct inode *inode); | 403 | extern void fat_truncate(struct inode *inode); |
| @@ -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 |
