ext4: fix block validity checks so they work correctly with meta_bg
authorTheodore Ts'o <tytso@mit.edu>
Sun, 15 Nov 2009 20:29:56 +0000 (15:29 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 15 Nov 2009 20:29:56 +0000 (15:29 -0500)
commit1032988c71f3f85483b2b4319684d1205a704c02
treeace311067686bf5b93e10ab793ee62b593d8660f
parent8dadb198cb70ef811916668fe67eeec82e8858dd
ext4: fix block validity checks so they work correctly with meta_bg

The block validity checks used by ext4_data_block_valid() wasn't
correctly written to check file systems with the meta_bg feature.  Fix
this.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@kernel.org
fs/ext4/block_validity.c
fs/ext4/inode.c