Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 31e818fe authored by David Sterba's avatar David Sterba
Browse files

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: default avatarDavid Sterba <dsterba@suse.cz>
parent f8c269d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment