mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
nfsd: helper for dup of possibly NULL string
Technically the initialization in the NULL case isn't even needed as the only caller already has target zeroed out, but it seems safer to keep copy_cred generic. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
6496500cf1
commit
5004385932
1 changed files with 15 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue