projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d92a8d4
)
[GFS2] Use BUG_ON() rather then if (...) BUG();
author
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 27 Feb 2006 16:00:37 +0000
(11:00 -0500)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 27 Feb 2006 16:00:37 +0000
(11:00 -0500)
This issue was raised by:
Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/lm.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/lm.c
b/fs/gfs2/lm.c
index cc7442261b2e707b1f6eef65322a62283568f782..f86f11f39738a7c6e83c612386042542edb1412d 100644
(file)
--- a/
fs/gfs2/lm.c
+++ b/
fs/gfs2/lm.c
@@
-101,8
+101,8
@@
int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...)
va_end(args);
fs_err(sdp, "about to withdraw from the cluster\n");
- if (sdp->sd_args.ar_debug)
- BUG();
+ BUG_ON(sdp->sd_args.ar_debug);
+
fs_err(sdp, "waiting for outstanding I/O\n");
This page took
0.024999 seconds
and
5
git commands to generate.