calculate the first block number of the group */
| 3355 | |
| 3356 | /* calculate the first block number of the group */ |
| 3357 | static inline ext3_fsblk_t |
| 3358 | ext3_group_first_block_no(struct super_block *sb, unsigned long group_no) |
| 3359 | { |
| 3360 | return group_no * (ext3_fsblk_t)EXT3_BLOCKS_PER_GROUP(sb) + |
| 3361 | le32_to_cpu(EXT3_SB(sb)->s_es->s_first_data_block); |
| 3362 | } |
| 3363 | |
| 3364 | /* |
| 3365 | * Functions for metadata checksums in ext4_csum.c. |
no outgoing calls
no test coverage detected