BUG_ON() Conversion in block/elevator.c
commitce52449742697f6f51be2a7c275a4ab2a73885b8
authorEric Sesterhenn <snakebyte@gmx.de>
Fri, 24 Mar 2006 17:43:26 +0000 (24 18:43 +0100)
committerAdrian Bunk <bunk@stusta.de>
Fri, 24 Mar 2006 17:43:26 +0000 (24 18:43 +0100)
tree1cd5441d8fa9dea43b4d6de0adba910abaca814b
parentc5d3237c2424c4a3cf69d33abc1f229943468367
BUG_ON() Conversion in block/elevator.c

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>
block/elevator.c