Skip to content
Unverified Commit 92f017c4 authored by Kenneth Lee's avatar Kenneth Lee Committed by Konstantin Komarov
Browse files

fs/ntfs3: Use kmalloc_array for allocating multiple elements



Prefer using kmalloc_array(a, b) over kmalloc(a * b) as this
improves semantics since kmalloc is intended for allocating an
array of memory.

Signed-off-by: default avatarKenneth Lee <klee33@uw.edu>
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
parent 6d5c9e79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment