diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2022-08-18 23:01:14 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-09-26 14:02:20 -0400 |
commit | 72f78ae00a8e5d7abe13abac8305a300f6afd74b (patch) | |
tree | d81f5c0a1c9562ba85afef61fe1017d124322924 /fs/lockd | |
parent | 521a547ced6477c54b4b0cc206000406c221b4d6 (diff) | |
download | lwn-72f78ae00a8e5d7abe13abac8305a300f6afd74b.tar.gz lwn-72f78ae00a8e5d7abe13abac8305a300f6afd74b.zip |
NFSD: 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>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions