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>
This commit is contained in:
Chuck Lever 2007-11-01 16:57:25 -04:00 committed by J. Bruce Fields
parent a628f66758
commit 48b4ba3fdd
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ struct nfsd_symlinkargs {
char * fname;
unsigned int flen;
char * tname;
int tlen;
unsigned int tlen;
struct iattr attrs;
};

View File

@ -89,7 +89,7 @@ struct nfsd3_symlinkargs {
char * fname;
unsigned int flen;
char * tname;
int tlen;
unsigned int tlen;
struct iattr attrs;
};