Commit c3797175 authored by Qianfeng Rong's avatar Qianfeng Rong Committed by Mikulas Patocka
Browse files

dm: use vmalloc_array() to simplify code



Remove array_size() calls and replace vmalloc() with vmalloc_array() to
simplify the code.

Signed-off-by: default avatarQianfeng Rong <rongqianfeng@vivo.com>
Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
parent a3191475
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment