From: Zheng Liu Date: Mon, 29 Jul 2013 16:51:42 +0000 (-0400) Subject: ext4: add WARN_ON to check the length of allocated blocks X-Git-Tag: v3.11-rc5~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44fb851dfb2f8e3462617e19a7b3b9025db9d919;p=pandora-kernel.git 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 Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed