From: HIMANGI SARAOGI Date: Tue, 8 Jul 2014 22:21:41 +0000 (+0530) Subject: Btrfs: use BUG_ON X-Git-Tag: fixes-against-v3.18-rc2~120^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14586651ed8f067e4add72c739f0bd2c2620fd9d;p=pandora-kernel.git Btrfs: use BUG_ON Use BUG_ON(x) rather than if(x) BUG(); The semantic patch that fixes this problem is as follows: // @@ identifier x; @@ -if (x) BUG(); +BUG_ON(x); // Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: Chris Mason --- Reading git-diff-tree failed