Commit 48b4ba3f authored by Chuck Lever's avatar Chuck Lever Committed by J. Bruce Fields

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: default avatarChuck Lever <chuck.lever@oracle.com>
Acked-By: default avatarNeilBrown <neilb@suse.de>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent a628f667
...@@ -73,7 +73,7 @@ struct nfsd_symlinkargs { ...@@ -73,7 +73,7 @@ struct nfsd_symlinkargs {
char * fname; char * fname;
unsigned int flen; unsigned int flen;
char * tname; char * tname;
int tlen; unsigned int tlen;
struct iattr attrs; struct iattr attrs;
}; };
......
...@@ -89,7 +89,7 @@ struct nfsd3_symlinkargs { ...@@ -89,7 +89,7 @@ struct nfsd3_symlinkargs {
char * fname; char * fname;
unsigned int flen; unsigned int flen;
char * tname; char * tname;
int tlen; unsigned int tlen;
struct iattr attrs; struct iattr attrs;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment