From b8b83be12346f45e177b9c741a0a3ca8fa5a52f0 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Thu, 1 Nov 2007 16:57:14 -0400 Subject: [PATCH] --- yaml --- r: 82412 b: refs/heads/master c: 9c7544d3a195cde33b3d1e46639b23c221f901db h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/nfsd/nfsxdr.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 0a777da176fe..385acec60295 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5a022fc8700cadbac373766cf1b5c746ffec7164 +refs/heads/master: 9c7544d3a195cde33b3d1e46639b23c221f901db diff --git a/trunk/fs/nfsd/nfsxdr.c b/trunk/fs/nfsd/nfsxdr.c index 50bd6187edfc..7003c313272f 100644 --- a/trunk/fs/nfsd/nfsxdr.c +++ b/trunk/fs/nfsd/nfsxdr.c @@ -78,10 +78,10 @@ decode_filename(__be32 *p, char **namp, unsigned int *lenp) } static __be32 * -decode_pathname(__be32 *p, char **namp, int *lenp) +decode_pathname(__be32 *p, char **namp, unsigned int *lenp) { char *name; - int i; + unsigned int i; if ((p = xdr_decode_string_inplace(p, namp, lenp, NFS_MAXPATHLEN)) != NULL) { for (i = 0, name = *namp; i < *lenp; i++, name++) {