diff options
Diffstat (limited to 'fs/hpfs/hpfs_fn.h')
-rw-r--r-- | fs/hpfs/hpfs_fn.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/hpfs/hpfs_fn.h b/fs/hpfs/hpfs_fn.h index c4867b5116dd..975654a63c13 100644 --- a/fs/hpfs/hpfs_fn.h +++ b/fs/hpfs/hpfs_fn.h | |||
@@ -88,6 +88,10 @@ struct hpfs_sb_info { | |||
88 | unsigned sb_max_fwd_alloc; /* max forwad allocation */ | 88 | unsigned sb_max_fwd_alloc; /* max forwad allocation */ |
89 | int sb_timeshift; | 89 | int sb_timeshift; |
90 | struct rcu_head rcu; | 90 | struct rcu_head rcu; |
91 | |||
92 | unsigned n_hotfixes; | ||
93 | secno hotfix_from[256]; | ||
94 | secno hotfix_to[256]; | ||
91 | }; | 95 | }; |
92 | 96 | ||
93 | /* Four 512-byte buffers and the 2k block obtained by concatenating them */ | 97 | /* Four 512-byte buffers and the 2k block obtained by concatenating them */ |
@@ -217,6 +221,8 @@ void hpfs_remove_fnode(struct super_block *, fnode_secno fno); | |||
217 | 221 | ||
218 | /* buffer.c */ | 222 | /* buffer.c */ |
219 | 223 | ||
224 | secno hpfs_search_hotfix_map(struct super_block *s, secno sec); | ||
225 | unsigned hpfs_search_hotfix_map_for_range(struct super_block *s, secno sec, unsigned n); | ||
220 | void hpfs_prefetch_sectors(struct super_block *, unsigned, int); | 226 | void hpfs_prefetch_sectors(struct super_block *, unsigned, int); |
221 | void *hpfs_map_sector(struct super_block *, unsigned, struct buffer_head **, int); | 227 | void *hpfs_map_sector(struct super_block *, unsigned, struct buffer_head **, int); |
222 | void *hpfs_get_sector(struct super_block *, unsigned, struct buffer_head **); | 228 | void *hpfs_get_sector(struct super_block *, unsigned, struct buffer_head **); |
@@ -285,6 +291,7 @@ __le32 *hpfs_map_bitmap(struct super_block *, unsigned, struct quad_buffer_head | |||
285 | void hpfs_prefetch_bitmap(struct super_block *, unsigned); | 291 | void hpfs_prefetch_bitmap(struct super_block *, unsigned); |
286 | unsigned char *hpfs_load_code_page(struct super_block *, secno); | 292 | unsigned char *hpfs_load_code_page(struct super_block *, secno); |
287 | __le32 *hpfs_load_bitmap_directory(struct super_block *, secno bmp); | 293 | __le32 *hpfs_load_bitmap_directory(struct super_block *, secno bmp); |
294 | void hpfs_load_hotfix_map(struct super_block *s, struct hpfs_spare_block *spareblock); | ||
288 | struct fnode *hpfs_map_fnode(struct super_block *s, ino_t, struct buffer_head **); | 295 | struct fnode *hpfs_map_fnode(struct super_block *s, ino_t, struct buffer_head **); |
289 | struct anode *hpfs_map_anode(struct super_block *s, anode_secno, struct buffer_head **); | 296 | struct anode *hpfs_map_anode(struct super_block *s, anode_secno, struct buffer_head **); |
290 | struct dnode *hpfs_map_dnode(struct super_block *s, dnode_secno, struct quad_buffer_head *); | 297 | struct dnode *hpfs_map_dnode(struct super_block *s, dnode_secno, struct quad_buffer_head *); |