]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Fix misuse of strlcpy
authorJoe Perches <joe@perches.com>
Thu, 4 Jul 2019 23:57:48 +0000 (16:57 -0700)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 9 Jul 2019 03:16:11 +0000 (23:16 -0400)
commitad2c07083912b1506823e406e438842412da12d3
tree08966a0b906d74845a553860b6691c960cea6ddd
parent4dd21a8476d2b9b763edd1d32f48236bf6c91fa0
nfsd: Fix misuse of strlcpy

Probable cut&paste typo - use the correct field size.

(Not currently a practical problem since these two fields have the same
size, but we should fix it anyway.)

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4idmap.c