aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hpfs/hpfs_fn.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hpfs/hpfs_fn.h')
-rw-r--r--fs/hpfs/hpfs_fn.h7
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
224secno hpfs_search_hotfix_map(struct super_block *s, secno sec);
225unsigned hpfs_search_hotfix_map_for_range(struct super_block *s, secno sec, unsigned n);
220void hpfs_prefetch_sectors(struct super_block *, unsigned, int); 226void hpfs_prefetch_sectors(struct super_block *, unsigned, int);
221void *hpfs_map_sector(struct super_block *, unsigned, struct buffer_head **, int); 227void *hpfs_map_sector(struct super_block *, unsigned, struct buffer_head **, int);
222void *hpfs_get_sector(struct super_block *, unsigned, struct buffer_head **); 228void *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
285void hpfs_prefetch_bitmap(struct super_block *, unsigned); 291void hpfs_prefetch_bitmap(struct super_block *, unsigned);
286unsigned char *hpfs_load_code_page(struct super_block *, secno); 292unsigned 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);
294void hpfs_load_hotfix_map(struct super_block *s, struct hpfs_spare_block *spareblock);
288struct fnode *hpfs_map_fnode(struct super_block *s, ino_t, struct buffer_head **); 295struct fnode *hpfs_map_fnode(struct super_block *s, ino_t, struct buffer_head **);
289struct anode *hpfs_map_anode(struct super_block *s, anode_secno, struct buffer_head **); 296struct anode *hpfs_map_anode(struct super_block *s, anode_secno, struct buffer_head **);
290struct dnode *hpfs_map_dnode(struct super_block *s, dnode_secno, struct quad_buffer_head *); 297struct dnode *hpfs_map_dnode(struct super_block *s, dnode_secno, struct quad_buffer_head *);