UPSTREAM: f2fs: Use struct_size() to improve f2fs_acl_clone()
Use struct_size() to calculate the number of bytes to allocate for a cloned acl. Change-Id: Icd8a700cab9c7ed4c7e78e73b755643ef4f0e9e5 Signed-off-by:Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by:
Chao Yu <chao@kernel.org> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org> (cherry picked from commit 527a4ded)
Loading
Please sign in to comment