Skip to content
Commit e6af1bb0 authored by Zhang Jianhua's avatar Zhang Jianhua Committed by Eric Biggers
Browse files

fs-verity: Use struct_size() helper in enable_verity()



Follow the best practice for allocating a variable-sized structure.

Signed-off-by: default avatarZhang Jianhua <chris.zjh@huawei.com>
[ebiggers: adjusted commit message]
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20220519022450.2434483-1-chris.zjh@huawei.com
parent b0487ede
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment