summaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd/xdr.h
diff options
context:
space:
mode:
authorChuck Lever2007-11-01 21:57:25 +0100
committerJ. Bruce Fields2008-02-01 22:42:03 +0100
commit48b4ba3fdd7af319e90ade395162430934ee7b87 (patch)
tree50381d64a613ef9b1c774fa8e6413540c9fc152a /include/linux/nfsd/xdr.h
parentNFSD: Fix mixed sign comparison in nfs3svc_decode_symlinkargs (diff)
downloadkernel-qcow2-linux-48b4ba3fdd7af319e90ade395162430934ee7b87.tar.gz
kernel-qcow2-linux-48b4ba3fdd7af319e90ade395162430934ee7b87.tar.xz
kernel-qcow2-linux-48b4ba3fdd7af319e90ade395162430934ee7b87.zip
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/xdr.h')
-rw-r--r--include/linux/nfsd/xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfsd/xdr.h b/include/linux/nfsd/xdr.h
index 49ddf7903b92..a0132ef58f21 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;
};