aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-02-27 11:00:37 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-02-27 11:00:37 -0500
commit3a8fe9be6c9794e55ac2253eab91d42b28a9dab6 (patch)
tree6c8f3e6a8616ddb513c3abb1c8cf7993d699afd7
parentd92a8d48085df863032110d9ccb221cde98d14e1 (diff)
[GFS2] Use BUG_ON() rather then if (...) BUG();
This issue was raised by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
-rw-r--r--fs/gfs2/lm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/lm.c b/fs/gfs2/lm.c
index cc7442261b2e..f86f11f39738 100644
--- a/fs/gfs2/lm.c
+++ b/fs/gfs2/lm.c
@@ -101,8 +101,8 @@ int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...)
101 va_end(args); 101 va_end(args);
102 102
103 fs_err(sdp, "about to withdraw from the cluster\n"); 103 fs_err(sdp, "about to withdraw from the cluster\n");
104 if (sdp->sd_args.ar_debug) 104 BUG_ON(sdp->sd_args.ar_debug);
105 BUG(); 105
106 106
107 fs_err(sdp, "waiting for outstanding I/O\n"); 107 fs_err(sdp, "waiting for outstanding I/O\n");
108 108