]> git.karo-electronics.de Git - linux-beck.git/commit
NFSD: Use unsigned length argument for decode_filename
authorChuck Lever <chuck.lever@oracle.com>
Thu, 1 Nov 2007 20:56:58 +0000 (16:56 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:02 +0000 (16:42 -0500)
commitee1a95b3b3fccf3c825bd95f89a8e006901b03ed
tree6b690c38cd2d2e9ef782dc1150d2cfccb205dd2f
parent48df020aa17ac95a012ff765b0086ede5996b320
NFSD: Use unsigned length argument for decode_filename

Clean up: file name lengths are unsigned on the wire, negative lengths
are not meaningful natively either.

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>
fs/nfsd/nfs3xdr.c
fs/nfsd/nfsxdr.c