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
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
md
/
dm-path-selector.c
diff --git
a/drivers/md/dm-path-selector.c
b/drivers/md/dm-path-selector.c
index
f10a0c8
..
a28c1c2
100644
(file)
--- a/
drivers/md/dm-path-selector.c
+++ b/
drivers/md/dm-path-selector.c
@@
-86,7
+86,8
@@
void dm_put_path_selector(struct path_selector_type *pst)
if (--psi->use == 0)
module_put(psi->pst.module);
- BUG_ON(psi->use < 0);
+ if (psi->use < 0)
+ BUG();
out:
up_read(&_ps_lock);