BUG_ON() Conversion in md/raid1.c
commit9e77c485f7037e4817bb53c78d15d5403981ae8b
authorEric Sesterhenn <snakebyte@gmx.de>
Fri, 31 Mar 2006 23:08:49 +0000 (1 01:08 +0200)
committerAdrian Bunk <bunk@stusta.de>
Fri, 31 Mar 2006 23:08:49 +0000 (1 01:08 +0200)
tree1b9b5bc14576c51ae03daf46b003869497499719
parent543cb2a451918002238a052d5c280e6afdee1cea
BUG_ON() Conversion in md/raid1.c

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

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/md/raid1.c