Skip to content

Commit ef350bb

Browse files
committed
Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
Pull ext4 bugfix from Ted Ts'o: "Fix a regression introduced in v3.13-rc6" * tag 'ext4_for_linus_stable' of http://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: ext4: fix bigalloc regression
2 parents a707271 + d0abafa commit ef350bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ext4/extents.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4218,7 +4218,7 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
42184218
*/
42194219
map->m_flags &= ~EXT4_MAP_FROM_CLUSTER;
42204220
newex.ee_block = cpu_to_le32(map->m_lblk);
4221-
cluster_offset = EXT4_LBLK_CMASK(sbi, map->m_lblk);
4221+
cluster_offset = EXT4_LBLK_COFF(sbi, map->m_lblk);
42224222

42234223
/*
42244224
* If we are doing bigalloc, check to see if the extent returned

0 commit comments

Comments
 (0)