Skip to contentSkip to conversation

NFSD: Path name length signage in nfsd request argument structures

PATCH In review Chuck Lever 1 participant 1 message Nov 1, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 8/8 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.

---

 include/linux/nfsd/xdr.h  |    2 +-
 include/linux/nfsd/xdr3.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/linux/nfsd/xdr.h +1 -1
index 49ddf79..a0132ef 100644
@@ -73,7 +73,7 @@ struct nfsd_symlinkargs {
 	char *			fname;
 	unsigned int		flen;
 	char *			tname;
-	int			tlen;
+	unsigned int		tlen;
 	struct iattr		attrs;
 };
 
include/linux/nfsd/xdr3.h +1 -1
index 6fdb958..421eddd 100644
@@ -89,7 +89,7 @@ struct nfsd3_symlinkargs {
 	char *			fname;
 	unsigned int		flen;
 	char *			tname;
-	int			tlen;
+	unsigned int		tlen;
 	struct iattr		attrs;
 };
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs