]> git.openpandora.org Git - pandora-kernel.git/commitdiff
btrfs: Use WARN_ON()'s return value in place of WARN_ON(1)
authorDulshani Gunawardhana <dulshani.gunawardhana89@gmail.com>
Thu, 31 Oct 2013 05:00:08 +0000 (10:30 +0530)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:11:53 +0000 (22:11 -0500)
Use WARN_ON()'s return value in place of WARN_ON(1) for cleaner source
code that outputs a more descriptive warnings. Also fix the styling
warning of redundant braces that came up as a result of this fix.

Signed-off-by: Dulshani Gunawardhana <dulshani.gunawardhana89@gmail.com>
Reviewed-by: Zach Brown <zab@redhat.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>

No differences found