aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs/misc.c
diff options
context:
space:
mode:
authorZhengyuan Liu <liuzhengyuan@kylinos.cn>2019-06-20 18:12:17 +0100
committerDavid Howells <dhowells@redhat.com>2019-06-20 18:12:17 +0100
commitee102584efd53547bf9a0810e80b56f99f4a9105 (patch)
treecd995a1511e4aa4c9ef6d2a488795d5a5b670693 /fs/afs/misc.c
parentafs: Trace afs_server usage (diff)
downloadlinux-dev-ee102584efd53547bf9a0810e80b56f99f4a9105.tar.xz
linux-dev-ee102584efd53547bf9a0810e80b56f99f4a9105.zip
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>
Diffstat (limited to 'fs/afs/misc.c')
0 files changed, 0 insertions, 0 deletions