From: Eric Sandeen Date: Mon, 22 Apr 2013 16:12:31 +0000 (+0000) Subject: btrfs: move leak debug code to functions X-Git-Tag: v3.10-rc1~31^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d49ba1b47b9c6822d08f90af6f1a2d8ca1cf533;p=pandora-kernel.git btrfs: move leak debug code to functions Clean up the leak debugging in extent_io.c by moving the debug code into functions. This also removes the list_heads used for debugging from the extent_buffer and extent_state structures when debug is not enabled. Since we need a global debug config to do that last part, implement CONFIG_BTRFS_DEBUG to accommodate. Thanks to Dave Sterba for the Kconfig bit. Signed-off-by: Eric Sandeen Reviewed-by: David Sterba Signed-off-by: Josef Bacik --- Reading git-diff-tree failed