提交 48b4ba3f 编写于 作者: C Chuck Lever 提交者: 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: NChuck Lever <chuck.lever@oracle.com>
Acked-By: NNeilBrown <neilb@suse.de>
Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册