[PATCH] Btrfs: Free free_space item properly in btrfs_trim_block_group()

2011-04-20 Thread Li Zefan
Since commit dc89e9824464e91fa0b06267864ceabe3186fd8b, we've changed to use a specific slab for alocation of free_space items. Signed-off-by: Li Zefan l...@cn.fujitsu.com --- fs/btrfs/free-space-cache.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH] Btrfs: Free free_space item properly in btrfs_trim_block_group()

2011-04-20 Thread Chris Mason
Excerpts from Li Zefan's message of 2011-04-20 04:37:39 -0400: Since commit dc89e9824464e91fa0b06267864ceabe3186fd8b, we've changed to use a specific slab for alocation of free_space items. Oh, nice catch. Thanks! -chris -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: [PATCH] Btrfs: Free free_space item properly in btrfs_trim_block_group()

2011-04-20 Thread David Sterba
Hi, reviewed, and made sure by the means of a coccinelle script that there are no other instances of any kmem_cache allocated data being kfreed. dave On Wed, Apr 20, 2011 at 04:37:39PM +0800, Li Zefan wrote: Since commit dc89e9824464e91fa0b06267864ceabe3186fd8b, we've changed to use a