commit | e6af1bb07704b53bad7771db1b05ee17abad11cb | [log] [tgz] |
---|---|---|
author | Zhang Jianhua <chris.zjh@huawei.com> | Thu May 19 10:24:50 2022 +0800 |
committer | Eric Biggers <ebiggers@google.com> | Thu May 19 09:53:33 2022 -0700 |
tree | bc3ee992ac54d191b2144094da1029aab6bf564a | |
parent | b0487ede1f7a1e7ee231c110af8a8bec3f6c0be2 [diff] |
fs-verity: Use struct_size() helper in enable_verity() Follow the best practice for allocating a variable-sized structure. Signed-off-by: Zhang Jianhua <chris.zjh@huawei.com> [ebiggers: adjusted commit message] Signed-off-by: Eric Biggers <ebiggers@google.com> Link: https://lore.kernel.org/r/20220519022450.2434483-1-chris.zjh@huawei.com