Btrfs: move checks in set_page_dirty under DEBUG
authorJosef Bacik <jbacik@fusionio.com>
Mon, 15 Oct 2012 17:30:43 +0000 (13:30 -0400)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:25 +0000 (20:46 -0500)
commitbb146eb265091f472ada52a3419d41e9b0ff1f7d
tree445529d24fa1e970fd81aed66001662b99a54333
parent70c8a91ce21b83ccd2d9e7c968775430ead4353d
Btrfs: move checks in set_page_dirty under DEBUG

This is a high traffic function, let's try and do as little as possible
during normal operations shall we?

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/disk-io.c