BUG_ON() Conversion in fs/sysfs/
authorEric Sesterhenn <snakebyte@gmx.de>
Fri, 31 Mar 2006 23:18:38 +0000 (01:18 +0200)
committerAdrian Bunk <bunk@stusta.de>
Fri, 31 Mar 2006 23:18:38 +0000 (01:18 +0200)
commit99cee0cd7560fc4e7f3646ee18d90e328bd1cb32
tree6c36d8c3b7071b2fad88e4127ef02ac8d374b0db
parent5df0d312413d920628f149421d7b0a3994684620
BUG_ON() Conversion in fs/sysfs/

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/sysfs/inode.c