提交 3a8fe9be 编写于 作者: S Steven Whitehouse

[GFS2] Use BUG_ON() rather then if (...) BUG();

This issue was raised by:
Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 d92a8d48
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册