Commit 527a4ded authored by Thorsten Blum's avatar Thorsten Blum Committed by Jaegeuk Kim
Browse files

f2fs: Use struct_size() to improve f2fs_acl_clone()



Use struct_size() to calculate the number of bytes to allocate for a
cloned acl.

Signed-off-by: default avatarThorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent b19ee727
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment