commit | ee102584efd53547bf9a0810e80b56f99f4a9105 | [log] [tgz] |
---|---|---|
author | Zhengyuan Liu <liuzhengyuan@kylinos.cn> | Thu Jun 20 18:12:17 2019 +0100 |
committer | David Howells <dhowells@redhat.com> | Thu Jun 20 18:12:17 2019 +0100 |
tree | cd995a1511e4aa4c9ef6d2a488795d5a5b670693 | |
parent | 452181936931f0f08923aba5e04e1e9ef58c389f [diff] |
fs/afs: use struct_size() in kzalloc() As Gustavo said in other patches doing the same replace, we can now use the new struct_size() helper to avoid leaving these open-coded and prone to type mistake. Signed-off-by: Zhengyuan Liu <liuzhengyuan@kylinos.cn> Signed-off-by: David Howells <dhowells@redhat.com>