35 befs_sb->
magic1 = fs32_to_cpu(sb, disk_sb->magic1);
36 befs_sb->
magic2 = fs32_to_cpu(sb, disk_sb->magic2);
37 befs_sb->
magic3 = fs32_to_cpu(sb, disk_sb->magic3);
38 befs_sb->
block_size = fs32_to_cpu(sb, disk_sb->block_size);
39 befs_sb->
block_shift = fs32_to_cpu(sb, disk_sb->block_shift);
40 befs_sb->
num_blocks = fs64_to_cpu(sb, disk_sb->num_blocks);
41 befs_sb->
used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks);
42 befs_sb->
inode_size = fs32_to_cpu(sb, disk_sb->inode_size);
44 befs_sb->
blocks_per_ag = fs32_to_cpu(sb, disk_sb->blocks_per_ag);
45 befs_sb->
ag_shift = fs32_to_cpu(sb, disk_sb->ag_shift);
46 befs_sb->
num_ags = fs32_to_cpu(sb, disk_sb->num_ags);
48 befs_sb->
log_blocks = fsrun_to_cpu(sb, disk_sb->log_blocks);
49 befs_sb->
log_start = fs64_to_cpu(sb, disk_sb->log_start);
50 befs_sb->
log_end = fs64_to_cpu(sb, disk_sb->log_end);
52 befs_sb->
root_dir = fsrun_to_cpu(sb, disk_sb->root_dir);
53 befs_sb->
indices = fsrun_to_cpu(sb, disk_sb->indices);
87 befs_error(sb,
"blocksize(%u) cannot be larger"
88 "than system pagesize(%lu)", befs_sb->
block_size,
99 befs_error(sb,
"block_shift disagrees with block_size. "
100 "Corruption likely.");
105 befs_error(sb,
"Filesystem not clean! There are blocks in the "
106 "journal. You must boot into BeOS and mount this volume "
107 "to make it clean.");