projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm bufio: use BUG_ON instead of conditional call to BUG
[cascardo/linux.git]
/
drivers
/
md
/
dm-bufio.c
diff --git
a/drivers/md/dm-bufio.c
b/drivers/md/dm-bufio.c
index
bccc7e6
..
6b832e0
100644
(file)
--- a/
drivers/md/dm-bufio.c
+++ b/
drivers/md/dm-bufio.c
@@
-1928,8
+1928,7
@@
static void __exit dm_bufio_exit(void)
bug = 1;
}
- if (bug)
- BUG();
+ BUG_ON(bug);
}
module_init(dm_bufio_init)