Btrfs: make btrfs_debug match pr_debug handling related to DEBUG
authorFrank Holton <fholton@gmail.com>
Wed, 13 Nov 2013 00:22:53 +0000 (19:22 -0500)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:39 +0000 (13:19 -0800)
commit27a0dd61a5cf742ebcd7a82c47be2502b1113eff
tree03f1c6c1c13518752919a8b54038e0a524280fda
parent33b98f22711142b7f92ad8e10f21fc3f921ffde2
Btrfs: make btrfs_debug match pr_debug handling related to DEBUG

The kernel macro pr_debug is defined as a empty statement when DEBUG is
not defined. Make btrfs_debug match pr_debug to avoid spamming
the kernel log with debug messages

Signed-off-by: Frank Holton <fholton@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ctree.h