linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / md / dm-hw-handler.c
index baafaab..4cc0010 100644 (file)
@@ -83,7 +83,8 @@ void dm_put_hw_handler(struct hw_handler_type *hwht)
        if (--hwhi->use == 0)
                module_put(hwhi->hwht.module);
 
-       BUG_ON(hwhi->use < 0);
+       if (hwhi->use < 0)
+               BUG();
 
       out:
        up_read(&_hwh_lock);