X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fmd%2Fdm-path-selector.c;h=f10a0c89b3f4e542b3901790504a212d612741ef;hb=347d59d7e9739ff2acbaa751b6225ecb335c3f29;hp=a28c1c2b4ef5c703d2d5ce4f5c67bb2858483542;hpb=07342d623b8e1ac9501a36a0da55cbce1117aeaf;p=linux-2.6-omap-h63xx.git diff --git a/drivers/md/dm-path-selector.c b/drivers/md/dm-path-selector.c index a28c1c2b4ef..f10a0c89b3f 100644 --- a/drivers/md/dm-path-selector.c +++ b/drivers/md/dm-path-selector.c @@ -86,8 +86,7 @@ void dm_put_path_selector(struct path_selector_type *pst) if (--psi->use == 0) module_put(psi->pst.module); - if (psi->use < 0) - BUG(); + BUG_ON(psi->use < 0); out: up_read(&_ps_lock);