提交 86a49e2d 编写于 作者: A Anup Limbu 提交者: Mike Snitzer

dm bufio: use BUG_ON instead of conditional call to BUG

Signed-off-by: NAnup Limbu <anuplimbu14@gmail.com>
Signed-off-by: NMike Snitzer <snitzer@redhat.com>
上级 86bad0c7
......@@ -1928,8 +1928,7 @@ static void __exit dm_bufio_exit(void)
bug = 1;
}
if (bug)
BUG();
BUG_ON(bug);
}
module_init(dm_bufio_init)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册