]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix bigalloc regression
authorEric Whitney <enwlinux@gmail.com>
Mon, 6 Jan 2014 19:00:23 +0000 (14:00 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 6 Jan 2014 19:00:23 +0000 (14:00 -0500)
commite0ad1d8c92172ded40c9124797cb8f2162dabce2
tree9f352c64a8d2cb8330600c11e8dc9855af9c63be
parent42801bc9aff7ee214fc6637b1653e722dac57187
ext4: fix bigalloc regression

Commit 42801bc9af introduced a regression on filesystems created with
the bigalloc feature (cluster size > blocksize).  It causes xfstests
generic/006 and /013 to fail with an unexpected JBD2 failure and
transaction abort that leaves the test file system in a read only state.
Other xfstests run on bigalloc file systems are likely to fail as well.

The cause is the accidental use of a cluster mask where a cluster
offset was needed in ext4_ext_map_blocks().

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
fs/ext4/extents.c