]> Git Repo - linux.git/commit - fs/btrfs/extent_io.c
btrfs: Use WARN_ON()'s return value in place of WARN_ON(1)
authorDulshani Gunawardhana <[email protected]>
Thu, 31 Oct 2013 05:00:08 +0000 (10:30 +0530)
committerChris Mason <[email protected]>
Tue, 12 Nov 2013 03:11:53 +0000 (22:11 -0500)
commitfae7f21cece9a4c181a8d8131870c7247e153f65
treed2c8052ead139f3e4bb4cb13c44dd59f32184d63
parentb19e684393752ec129a36924e6c270daf79676d6
btrfs: Use WARN_ON()'s return value in place of WARN_ON(1)

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 <[email protected]>
Reviewed-by: Zach Brown <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
14 files changed:
fs/btrfs/backref.c
fs/btrfs/check-integrity.c
fs/btrfs/ctree.c
fs/btrfs/delayed-inode.c
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/extent_io.c
fs/btrfs/file-item.c
fs/btrfs/inode-map.c
fs/btrfs/inode.c
fs/btrfs/relocation.c
fs/btrfs/send.c
fs/btrfs/tree-log.c
fs/btrfs/volumes.c
This page took 0.051724 seconds and 4 git commands to generate.