Skip to content
Commit 51877de3 authored by Shuqi Zhang's avatar Shuqi Zhang Committed by Greg Kroah-Hartman
Browse files

ext4: use kmemdup() to replace kmalloc + memcpy



[ Upstream commit 4efd9f0d ]

Replace kmalloc + memcpy with kmemdup()

Signed-off-by: default avatarShuqi Zhang <zhangshuqi3@huawei.com>
Reviewed-by: default avatarRitesh Harjani <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20220525030120.803330-1-zhangshuqi3@huawei.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0b885394
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment