]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: use kmemdup() to replace kmalloc + memcpy
authorShuqi Zhang <zhangshuqi3@huawei.com>
Wed, 25 May 2022 03:01:20 +0000 (11:01 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 18 Jun 2022 23:35:43 +0000 (19:35 -0400)
commit60d9bdc58110a95c5bd3cb4e14df5fb44c187afe
tree8631c70c8ac72a5781db94774f70f636a35dfcb0
parent2dcb8960e08bda164a12262b60fce9e6ffde91d1
ext4: use kmemdup() to replace kmalloc + memcpy

Replace kmalloc + memcpy with kmemdup()

Signed-off-by: Shuqi Zhang <zhangshuqi3@huawei.com>
Reviewed-by: Ritesh Harjani <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20220525030120.803330-1-zhangshuqi3@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/xattr.c