BUG_ON() Conversion in md/dm-path-selector.c
Subsystems (2)
PATCH 3/9 BUG_ON() Conversion in md/dm-path-selector.c
hi,
this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away
Signed-off-by Eric Sesterhenn <[email protected]>
drivers/md/dm-path-selector.c renamed from drivers/md/dm-path-selector.c.orig +1 -2
@@ -86,8 +86,7 @@ void dm_put_path_selector(struct path_seif (--psi->use ==0 )module_put (psi->pst.module); -if (psi->use <0 ) -BUG (); +BUG_ON (psi->use <0 ); out:up_read (&_ps_lock);
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors