From: Dulshani Gunawardhana Date: Thu, 31 Oct 2013 05:02:18 +0000 (+0530) Subject: btrfs: Replace kmalloc with kmalloc_array X-Git-Tag: v3.13-rc1~85^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9b0d9ba04cf99abff9125b688c03e154598a644;p=pandora-kernel.git btrfs: Replace kmalloc with kmalloc_array Replace kmalloc(size * nr, ) with kmalloc_array(nr, size), thus making it easier to check is that the calculation doesn't wrap or return a smaller allocation Signed-off-by: Dulshani Gunawardhana Reviewed-by: Zach Brown Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed