commit | 86a49e2dac3064557d45850a9c63f7cc1e6fe041 | [log] [tgz] |
---|---|---|
author | Anup Limbu <anuplimbu14@gmail.com> | Wed Nov 25 15:46:05 2015 +0530 |
committer | Mike Snitzer <snitzer@redhat.com> | Thu Dec 10 10:38:58 2015 -0500 |
tree | 948f2638697bed78cccc449b7d053b4dacd19e7d | |
parent | 86bad0c7071c24efee0a395d8b622764bdd24320 [diff] |
dm bufio: use BUG_ON instead of conditional call to BUG Signed-off-by: Anup Limbu <anuplimbu14@gmail.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
diff --git a/drivers/md/dm-bufio.c b/drivers/md/dm-bufio.c index bccc7e6..6b832e0 100644 --- a/drivers/md/dm-bufio.c +++ b/drivers/md/dm-bufio.c
@@ -1928,8 +1928,7 @@ bug = 1; } - if (bug) - BUG(); + BUG_ON(bug); } module_init(dm_bufio_init)