diff --git a/fs/ext3/balloc.c b/fs/ext3/balloc.c
index da0cb2c0e4376717292fd2afc1d4ff147b9fc6b8..dd4237e5e9ecc6b80a05b7ea5bdda134fc97d346 100644
--- a/fs/ext3/balloc.c
+++ b/fs/ext3/balloc.c
@@ -232,8 +232,7 @@ static void __rsv_window_dump(struct rb_root *root, int verbose,
 		prev = rsv;
 	}
 	printk("Window map complete.\n");
-	if (bad)
-		BUG();
+	BUG_ON(bad);
 }
 #define rsv_window_dump(root, verbose) \
 	__rsv_window_dump((root), (verbose), __FUNCTION__)