Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

NFSD: Path name length signage in nfsd request argument structures

Clean up: For consistency, store the length of path name strings in nfsd
argument structures as unsigned integers.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Acked-By: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

authored by

Chuck Lever and committed by
J. Bruce Fields
48b4ba3f a628f667

+2 -2
+1 -1
include/linux/nfsd/xdr.h
··· 73 73 char * fname; 74 74 unsigned int flen; 75 75 char * tname; 76 - int tlen; 76 + unsigned int tlen; 77 77 struct iattr attrs; 78 78 }; 79 79
+1 -1
include/linux/nfsd/xdr3.h
··· 89 89 char * fname; 90 90 unsigned int flen; 91 91 char * tname; 92 - int tlen; 92 + unsigned int tlen; 93 93 struct iattr attrs; 94 94 }; 95 95