From: Ryusuke Konishi Date: Sat, 10 Oct 2009 13:58:10 +0000 (+0900) Subject: nilfs2: get rid of BUG_ON use in btree lookup routines X-Git-Tag: v2.6.33-rc1~322^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b945d537db86557e5b5820b4b52df94c35b3829;p=pandora-kernel.git nilfs2: get rid of BUG_ON use in btree lookup routines The current btree lookup routines make a kernel oops when detected inconsistency in btree blocks. These routines should instead return a proper error code because the inconsistency usually comes from corruption of on-disk metadata. This fixes the issue by converting BUG_ON calls to proper error handlings. Signed-off-by: Ryusuke Konishi --- Reading git-diff-tree failed