diff options
Diffstat (limited to 'fs/fat/fat.h')
-rw-r--r-- | fs/fat/fat.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/fat/fat.h b/fs/fat/fat.h index a69f7f9757c0..4efc5038ed29 100644 --- a/fs/fat/fat.h +++ b/fs/fat/fat.h | |||
@@ -91,7 +91,9 @@ struct msdos_inode_info { | |||
91 | /* for avoiding the race between fat_free() and fat_get_cluster() */ | 91 | /* for avoiding the race between fat_free() and fat_get_cluster() */ |
92 | unsigned int cache_valid_id; | 92 | unsigned int cache_valid_id; |
93 | 93 | ||
94 | loff_t mmu_private; | 94 | /* NOTE: mmu_private is 64bits, so must hold ->i_mutex to access */ |
95 | loff_t mmu_private; /* physically allocated size */ | ||
96 | |||
95 | int i_start; /* first cluster or 0 */ | 97 | int i_start; /* first cluster or 0 */ |
96 | int i_logstart; /* logical first cluster */ | 98 | int i_logstart; /* logical first cluster */ |
97 | int i_attrs; /* unused attribute bits */ | 99 | int i_attrs; /* unused attribute bits */ |
@@ -222,7 +224,7 @@ extern void fat_cache_inval_inode(struct inode *inode); | |||
222 | extern int fat_get_cluster(struct inode *inode, int cluster, | 224 | extern int fat_get_cluster(struct inode *inode, int cluster, |
223 | int *fclus, int *dclus); | 225 | int *fclus, int *dclus); |
224 | extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys, | 226 | extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys, |
225 | unsigned long *mapped_blocks); | 227 | unsigned long *mapped_blocks, int create); |
226 | 228 | ||
227 | /* fat/dir.c */ | 229 | /* fat/dir.c */ |
228 | extern const struct file_operations fat_dir_operations; | 230 | extern const struct file_operations fat_dir_operations; |