diff options
Diffstat (limited to 'fs/befs/datastream.c')
-rw-r--r-- | fs/befs/datastream.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/befs/datastream.c b/fs/befs/datastream.c index 67335e2853f6..aacb4da6298a 100644 --- a/fs/befs/datastream.c +++ b/fs/befs/datastream.c | |||
@@ -311,7 +311,7 @@ befs_find_brun_indirect(struct super_block *sb, | |||
311 | befs_blocknr_t indir_start_blk; | 311 | befs_blocknr_t indir_start_blk; |
312 | befs_blocknr_t search_blk; | 312 | befs_blocknr_t search_blk; |
313 | struct buffer_head *indirblock; | 313 | struct buffer_head *indirblock; |
314 | befs_block_run *array; | 314 | befs_disk_block_run *array; |
315 | 315 | ||
316 | befs_block_run indirect = data->indirect; | 316 | befs_block_run indirect = data->indirect; |
317 | befs_blocknr_t indirblockno = iaddr2blockno(sb, &indirect); | 317 | befs_blocknr_t indirblockno = iaddr2blockno(sb, &indirect); |
@@ -333,7 +333,7 @@ befs_find_brun_indirect(struct super_block *sb, | |||
333 | return BEFS_ERR; | 333 | return BEFS_ERR; |
334 | } | 334 | } |
335 | 335 | ||
336 | array = (befs_block_run *) indirblock->b_data; | 336 | array = (befs_disk_block_run *) indirblock->b_data; |
337 | 337 | ||
338 | for (j = 0; j < arraylen; ++j) { | 338 | for (j = 0; j < arraylen; ++j) { |
339 | int len = fs16_to_cpu(sb, array[j].len); | 339 | int len = fs16_to_cpu(sb, array[j].len); |
@@ -426,7 +426,7 @@ befs_find_brun_dblindirect(struct super_block *sb, | |||
426 | struct buffer_head *dbl_indir_block; | 426 | struct buffer_head *dbl_indir_block; |
427 | struct buffer_head *indir_block; | 427 | struct buffer_head *indir_block; |
428 | befs_block_run indir_run; | 428 | befs_block_run indir_run; |
429 | befs_inode_addr *iaddr_array = NULL; | 429 | befs_disk_inode_addr *iaddr_array = NULL; |
430 | befs_sb_info *befs_sb = BEFS_SB(sb); | 430 | befs_sb_info *befs_sb = BEFS_SB(sb); |
431 | 431 | ||
432 | befs_blocknr_t indir_start_blk = | 432 | befs_blocknr_t indir_start_blk = |
@@ -481,7 +481,7 @@ befs_find_brun_dblindirect(struct super_block *sb, | |||
481 | 481 | ||
482 | dbl_block_indx = | 482 | dbl_block_indx = |
483 | dblindir_indx - (dbl_which_block * befs_iaddrs_per_block(sb)); | 483 | dblindir_indx - (dbl_which_block * befs_iaddrs_per_block(sb)); |
484 | iaddr_array = (befs_inode_addr *) dbl_indir_block->b_data; | 484 | iaddr_array = (befs_disk_inode_addr *) dbl_indir_block->b_data; |
485 | indir_run = fsrun_to_cpu(sb, iaddr_array[dbl_block_indx]); | 485 | indir_run = fsrun_to_cpu(sb, iaddr_array[dbl_block_indx]); |
486 | brelse(dbl_indir_block); | 486 | brelse(dbl_indir_block); |
487 | iaddr_array = NULL; | 487 | iaddr_array = NULL; |
@@ -506,7 +506,7 @@ befs_find_brun_dblindirect(struct super_block *sb, | |||
506 | } | 506 | } |
507 | 507 | ||
508 | block_indx = indir_indx - (which_block * befs_iaddrs_per_block(sb)); | 508 | block_indx = indir_indx - (which_block * befs_iaddrs_per_block(sb)); |
509 | iaddr_array = (befs_inode_addr *) indir_block->b_data; | 509 | iaddr_array = (befs_disk_inode_addr *) indir_block->b_data; |
510 | *run = fsrun_to_cpu(sb, iaddr_array[block_indx]); | 510 | *run = fsrun_to_cpu(sb, iaddr_array[block_indx]); |
511 | brelse(indir_block); | 511 | brelse(indir_block); |
512 | iaddr_array = NULL; | 512 | iaddr_array = NULL; |