mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 11:45:53 -05:00
[GFS2] Use BUG_ON() rather then if (...) BUG();
This issue was raised by: Eric Sesterhenn <[email protected]> Signed-off-by: Steven Whitehouse <[email protected]>
This commit is contained in:
parent
d92a8d4808
commit
3a8fe9be6c
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue