projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86bad0c
)
dm bufio: use BUG_ON instead of conditional call to BUG
author
Anup Limbu
<anuplimbu14@gmail.com>
Wed, 25 Nov 2015 10:16:05 +0000
(15:46 +0530)
committer
Mike Snitzer
<snitzer@redhat.com>
Thu, 10 Dec 2015 15:38:58 +0000
(10:38 -0500)
Signed-off-by: Anup Limbu <anuplimbu14@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-bufio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-bufio.c
b/drivers/md/dm-bufio.c
index bccc7e6903e4de8d861ef1190d01326bf6ea446b..6b832e06580dd6527bbf6e1a92e36c044db62f4a 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)