Re: [PATCH 1/1] FS/BTRFS: replace count*size kzalloc by kcalloc

2014-07-01 Thread Satoru Takeuchi
(2014/07/02 9:01), David Sterba wrote: On Wed, Jun 25, 2014 at 08:35:43PM +0200, Fabian Frederick wrote: kcalloc manages count*sizeof overflow. Cc: Chris Mason Cc: Josef Bacik Cc: linux-bt...@vger.kernel.org Signed-off-by: Fabian Frederick Reviewed-by: David Sterba Reviewed-by: Satoru T

Re: [PATCH 1/1] FS/BTRFS: replace count*size kzalloc by kcalloc

2014-07-01 Thread David Sterba
On Wed, Jun 25, 2014 at 08:35:43PM +0200, Fabian Frederick wrote: > kcalloc manages count*sizeof overflow. > > Cc: Chris Mason > Cc: Josef Bacik > Cc: linux-bt...@vger.kernel.org > Signed-off-by: Fabian Frederick Reviewed-by: David Sterba -- To unsubscribe from this list: send the line "unsub

[PATCH 1/1] FS/BTRFS: replace count*size kzalloc by kcalloc

2014-06-25 Thread Fabian Frederick
kcalloc manages count*sizeof overflow. Cc: Chris Mason Cc: Josef Bacik Cc: linux-bt...@vger.kernel.org Signed-off-by: Fabian Frederick --- fs/btrfs/compression.c | 2 +- fs/btrfs/ctree.c| 8 fs/btrfs/disk-io.c | 2 +- fs/btrfs/free-space-cache.c | 2 +- fs/bt