aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/lm.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/lm.c')
-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 cc7442261b2..f86f11f3973 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, ...)
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");