Re: [PATCH V3] btrfs: move leak debug code to functions

2013-04-23 Thread David Sterba
On Mon, Apr 22, 2013 at 11:12:31AM -0500, Eric Sandeen wrote: > 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

[PATCH V3] btrfs: move leak debug code to functions

2013-04-22 Thread Eric Sandeen
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_DE