summaryrefslogtreecommitdiff
path: root/fs/lockd
diff options
context:
space:
mode:
authorAzeem Shaikh <azeemshaikh38@gmail.com>2023-05-15 02:40:44 +0000
committerChuck Lever <chuck.lever@oracle.com>2023-05-15 08:03:04 -0400
commit21a3f3328972bdb774c62b301a715b5cebf03fa2 (patch)
tree2da48ff2ce29aab67ef069a0eacd44ae414ef2fd /fs/lockd
parent07a27305938559fb35f7a46fb90a5e37728bdee6 (diff)
NFSD: Remove open coding of string copy
Instead of open coding a __dynamic_array(), use the __string() and __assign_str() helper macros that exist for this kind of use case. Part of an effort to remove deprecated strlcpy() [1] completely from the kernel[2]. [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy [2] https://github.com/KSPP/linux/issues/89 Fixes: 3c92fba557c6 ("NFSD: Enhance the nfsd_cb_setup tracepoint") Signed-off-by: Azeem Shaikh <azeemshaikh38@gmail.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions