From: Eric Sesterhenn Date: Tue, 3 Oct 2006 21:36:38 +0000 (+0200) Subject: BUG_ON conversion for fs/reiserfs X-Git-Tag: v2.6.19-rc1~165^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14a61442c2203d2a49f2f954bfa9259c0ddac1aa;p=pandora-kernel.git BUG_ON conversion for fs/reiserfs This patch converts several if () BUG(); construct to BUG_ON(); which occupies less space, uses unlikely and is safer when BUG() is disabled. S_ISREG() has no side effects, so the conversion is safe. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk --- Reading git-diff-tree failed