]> err.no Git - linux-2.6/blobdiff - drivers/md/dm-target.c
[POWERPC] 83xx: Updated mpc834x_itx_defconfig
[linux-2.6] / drivers / md / dm-target.c
index aecd9e0c2616b7ad0ec1881be502e501ddd9c731..477a041a41cfa4601cb796ddf14df3dfcdbde562 100644 (file)
@@ -12,6 +12,8 @@
 #include <linux/bio.h>
 #include <linux/slab.h>
 
+#define DM_MSG_PREFIX "target"
+
 struct tt_internal {
        struct target_type tt;
 
@@ -78,8 +80,7 @@ void dm_put_target_type(struct target_type *t)
        if (--ti->use == 0)
                module_put(ti->tt.module);
 
-       if (ti->use < 0)
-               BUG();
+       BUG_ON(ti->use < 0);
        up_read(&_lock);
 
        return;