affs: move from strlcpy with unused retval to strscpy
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Aug 2022 21:01:39 +0000 (23:01 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 19 Aug 2022 11:03:10 +0000 (13:03 +0200)
commit505ffcc852401aaac4dfb57c16bec0f7838c0e00
tree072f39f02c5a31c3bf05cd789f4c1aa5c81035a5
parent5abbb7b92820cf6ba9154a35cff6d64b62d7f273
affs: move from strlcpy with unused retval to strscpy

Follow the advice of the below link and prefer 'strscpy' in this
subsystem. Conversion is 1:1 because the return value is not used.
Generated by a coccinelle script.

Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/affs/super.c