diff options
author | 2014-07-09 03:51:41 +0530 | |
---|---|---|
committer | 2014-09-17 13:37:34 -0700 | |
commit | 14586651ed8f067e4add72c739f0bd2c2620fd9d (patch) | |
tree | 929d439ac494d809c21ad1f490429806561cc725 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs compression: merge inflate and deflate z_streams (diff) | |
download | wireguard-linux-14586651ed8f067e4add72c739f0bd2c2620fd9d.tar.xz wireguard-linux-14586651ed8f067e4add72c739f0bd2c2620fd9d.zip |
Btrfs: use BUG_ON
Use BUG_ON(x) rather than if(x) BUG();
The semantic patch that fixes this problem is as follows:
// <smpl>
@@ identifier x; @@
-if (x) BUG();
+BUG_ON(x);
// </smpl>
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions