summaryrefslogtreecommitdiffstats
path: root/fs/compat_ioctl.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2014-05-12 16:17:55 +0200
committerTheodore Ts'o <tytso@mit.edu>2014-05-12 16:17:55 +0200
commite674e5cbd0942b42a12106ac0be8330f4301bef4 (patch)
tree6ffbdb5efe9394a855716435562495c3b6065011 /fs/compat_ioctl.c
parentext4: fix block bitmap initialization under sparse_super2 (diff)
downloadlinux-e674e5cbd0942b42a12106ac0be8330f4301bef4.tar.xz
linux-e674e5cbd0942b42a12106ac0be8330f4301bef4.zip
ext4: fix block bitmap validation when bigalloc, ^flex_bg
On a bigalloc,^flex_bg filesystem, the ext4_valid_block_bitmap function fails to convert from blocks to clusters when spot-checking the validity of the bitmap block that we've just read from disk. This causes ext4 to think that the bitmap is garbage, which results in the block group being taken offline when it's not necessary. Add in the necessary EXT4_B2C() calls to perform the conversions. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions