Commit 86a49e2d authored by Anup Limbu's avatar Anup Limbu Committed by Mike Snitzer

dm bufio: use BUG_ON instead of conditional call to BUG

Signed-off-by: default avatarAnup Limbu <anuplimbu14@gmail.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment