BUG_ON() Conversion in fs/jffs2/
authorEric Sesterhenn <snakebyte@gmx.de>
Fri, 31 Mar 2006 23:15:35 +0000 (01:15 +0200)
committerAdrian Bunk <bunk@stusta.de>
Fri, 31 Mar 2006 23:15:35 +0000 (01:15 +0200)
commit4b4d1cc7336b29f766d4e59d1ed2c627443a694a
treed2b501084ecd78d06d56c9d7deb3f5c96c6e6a9f
parent0bf3ba538a150f8430104a50e88c1449e8fa1fe6
BUG_ON() Conversion in fs/jffs2/

this changes if() BUG(); constructs to BUG_ON() which is
cleaner, contains unlikely() and can better optimized away.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
fs/jffs2/background.c