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-hw-handler.c
diff --git
a/drivers/md/dm-hw-handler.c
b/drivers/md/dm-hw-handler.c
index
4cc0010
..
baafaab
100644
(file)
--- a/
drivers/md/dm-hw-handler.c
+++ b/
drivers/md/dm-hw-handler.c
@@
-83,8
+83,7
@@
void dm_put_hw_handler(struct hw_handler_type *hwht)
if (--hwhi->use == 0)
module_put(hwhi->hwht.module);
- if (hwhi->use < 0)
- BUG();
+ BUG_ON(hwhi->use < 0);
out:
up_read(&_hwh_lock);