diff options
author | Zheng Liu <wenqing.lz@taobao.com> | 2013-07-29 12:51:42 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-07-29 12:51:42 -0400 |
commit | 44fb851dfb2f8e3462617e19a7b3b9025db9d919 (patch) | |
tree | 163882d4f6c13c064ad522127990e5eab23d8d94 /arch/mips/bcm47xx | |
parent | 94eec0fc3520c759831763d866421b4d60b599b4 (diff) | |
download | op-kernel-dev-44fb851dfb2f8e3462617e19a7b3b9025db9d919.zip op-kernel-dev-44fb851dfb2f8e3462617e19a7b3b9025db9d919.tar.gz |
ext4: add WARN_ON to check the length of allocated blocks
In commit 921f266b: ext4: add self-testing infrastructure to do a
sanity check, some sanity checks were added in map_blocks to make sure
'retval == map->m_len'.
Enable these checks by default and report any assertion failures using
ext4_warning() and WARN_ON() since they can help us to figure out some
bugs that are otherwise hard to hit.
Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'arch/mips/bcm47xx')
0 files changed, 0 insertions, 0 deletions