|
@@ -4218,7 +4218,7 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
|
|
*/
|
|
*/
|
|
map->m_flags &= ~EXT4_MAP_FROM_CLUSTER;
|
|
map->m_flags &= ~EXT4_MAP_FROM_CLUSTER;
|
|
newex.ee_block = cpu_to_le32(map->m_lblk);
|
|
newex.ee_block = cpu_to_le32(map->m_lblk);
|
|
- cluster_offset = EXT4_LBLK_CMASK(sbi, map->m_lblk);
|
|
|
|
|
|
+ cluster_offset = EXT4_LBLK_COFF(sbi, map->m_lblk);
|
|
|
|
|
|
/*
|
|
/*
|
|
* If we are doing bigalloc, check to see if the extent returned
|
|
* If we are doing bigalloc, check to see if the extent returned
|