commit | 31e818fe7375d60de9953051f7bd1615cebc3681 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.cz> | Fri Feb 20 18:00:26 2015 +0100 |
committer | David Sterba <dsterba@suse.cz> | Tue Mar 03 17:23:58 2015 +0100 |
tree | c096eb4b8398ada2c04ab459705f436bde969beb | |
parent | f8c269d7223f6b63cc5936eb191bc3b170d24342 [diff] |
btrfs: cleanup, use kmalloc_array/kcalloc array helpers Convert kmalloc(nr * size, ..) to kmalloc_array that does additional overflow checks, the zeroing variant is kcalloc. Signed-off-by: David Sterba <dsterba@suse.cz>