projects
/
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
|
history
diff --git
a/fs/gfs2/lm.c
b/fs/gfs2/lm.c
index
cc74422
..
f86f11f
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");