aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-01-07 08:22:42 +0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-07 08:22:42 +0800
commitef350bb7c5e0748f7d17f1d70c6b0eec5f64f446 (patch)
tree2fbe650d38b886012c72b58b462147be7fd8a7ec /fs
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
parentext4: fix bigalloc regression (diff)
downloadlinux-dev-ef350bb7c5e0748f7d17f1d70c6b0eec5f64f446.tar.xz
linux-dev-ef350bb7c5e0748f7d17f1d70c6b0eec5f64f446.zip
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
Diffstat (limited to 'fs')
-rw-r--r--fs/ext4/extents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 4410cc3d6ee2..3384dc4bed40 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -4218,7 +4218,7 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
*/
map->m_flags &= ~EXT4_MAP_FROM_CLUSTER;
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