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 kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[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
..
64fd8e7
100644
(file)
--- a/
drivers/md/dm-target.c
+++ b/
drivers/md/dm-target.c
@@
-78,8
+78,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;