]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf24464a1dd96dbd4bd8d2a872f75458a558f7b58
tree70341af1959f7826e0305102408daa116e1231dc
parente6d65ab69162e03b78afca7a6458ae8a8ee27c6b
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