29 struct buffer_head *bh =
NULL;
35 iaddr.allocation_group, iaddr.start, iaddr.len);
37 if (iaddr.allocation_group > befs_sb->
num_ags) {
38 befs_error(sb,
"BEFS: Invalid allocation group %u, max is %u",
39 iaddr.allocation_group, befs_sb->
num_ags);
43 block = iaddr2blockno(sb, &iaddr);
45 befs_debug(sb,
"befs_read_iaddr: offset = %lu", block);
47 bh = sb_bread(sb, block);
50 befs_error(sb,
"Failed to read block %lu", block);
58 befs_debug(sb,
"<--- befs_read_iaddr() ERROR");
65 struct buffer_head *bh =
NULL;
67 befs_debug(sb,
"---> Enter befs_read() %Lu", block);
69 bh = sb_bread(sb, block);
72 befs_error(sb,
"Failed to read block %lu", block);