commit | 3a8fe9be6c9794e55ac2253eab91d42b28a9dab6 | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Mon Feb 27 11:00:37 2006 -0500 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Mon Feb 27 11:00:37 2006 -0500 |
tree | 6c8f3e6a8616ddb513c3abb1c8cf7993d699afd7 | |
parent | d92a8d48085df863032110d9ccb221cde98d14e1 [diff] [blame] |
[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>
diff --git a/fs/gfs2/lm.c b/fs/gfs2/lm.c index cc74422..f86f11f 100644 --- a/fs/gfs2/lm.c +++ b/fs/gfs2/lm.c
@@ -101,8 +101,8 @@ 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");