diff options
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfsxdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfsxdr.c b/fs/nfsd/nfsxdr.c index 50bd6187edfc..7003c313272f 100644 --- a/fs/nfsd/nfsxdr.c +++ b/fs/nfsd/nfsxdr.c | |||
@@ -78,10 +78,10 @@ decode_filename(__be32 *p, char **namp, unsigned int *lenp) | |||
78 | } | 78 | } |
79 | 79 | ||
80 | static __be32 * | 80 | static __be32 * |
81 | decode_pathname(__be32 *p, char **namp, int *lenp) | 81 | decode_pathname(__be32 *p, char **namp, unsigned int *lenp) |
82 | { | 82 | { |
83 | char *name; | 83 | char *name; |
84 | int i; | 84 | unsigned int i; |
85 | 85 | ||
86 | if ((p = xdr_decode_string_inplace(p, namp, lenp, NFS_MAXPATHLEN)) != NULL) { | 86 | if ((p = xdr_decode_string_inplace(p, namp, lenp, NFS_MAXPATHLEN)) != NULL) { |
87 | for (i = 0, name = *namp; i < *lenp; i++, name++) { | 87 | for (i = 0, name = *namp; i < *lenp; i++, name++) { |