diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-11-01 20:57:25 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-02-01 21:42:03 (GMT) |
commit | 48b4ba3fdd7af319e90ade395162430934ee7b87 (patch) | |
tree | 50381d64a613ef9b1c774fa8e6413540c9fc152a /include/linux/nfsd | |
parent | a628f6675861d979405f751418e924c4ec7d457d (diff) | |
download | linux-fsl-qoriq-48b4ba3fdd7af319e90ade395162430934ee7b87.tar.xz |
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>
Diffstat (limited to 'include/linux/nfsd')
-rw-r--r-- | include/linux/nfsd/xdr.h | 2 | ||||
-rw-r--r-- | include/linux/nfsd/xdr3.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/nfsd/xdr.h b/include/linux/nfsd/xdr.h index 49ddf79..a0132ef 100644 --- a/include/linux/nfsd/xdr.h +++ b/include/linux/nfsd/xdr.h @@ -73,7 +73,7 @@ struct nfsd_symlinkargs { char * fname; unsigned int flen; char * tname; - int tlen; + unsigned int tlen; struct iattr attrs; }; diff --git a/include/linux/nfsd/xdr3.h b/include/linux/nfsd/xdr3.h index 6fdb958..421eddd 100644 --- a/include/linux/nfsd/xdr3.h +++ b/include/linux/nfsd/xdr3.h @@ -89,7 +89,7 @@ struct nfsd3_symlinkargs { char * fname; unsigned int flen; char * tname; - int tlen; + unsigned int tlen; struct iattr attrs; }; |