btrfs: switch to kcalloc in btrfs_cmp_data_prepare
authorDavid Sterba <dsterba@suse.com>
Thu, 11 Feb 2016 14:01:38 +0000 (15:01 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Feb 2016 14:19:39 +0000 (15:19 +0100)
commit66722f7c059089ad7f11eaa3e27af2321ab1b0e6
tree70341af1959f7826e0305102408daa116e1231dc
parentfd95ef56b1acf96a24ff3d3f7bf19c2350ad0786
btrfs: switch to kcalloc in btrfs_cmp_data_prepare

Kcalloc is functionally equivalent and does overflow checks.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c