git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
md
/
dm-target.c
diff --git
a/drivers/md/dm-target.c
b/drivers/md/dm-target.c
index
aecd9e0
..
477a041
100644
(file)
--- a/
drivers/md/dm-target.c
+++ b/
drivers/md/dm-target.c
@@
-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;