]> err.no Git - linux-2.6/commit
NFSD: Use unsigned length argument for decode_pathname
authorChuck Lever <chuck.lever@oracle.com>
Thu, 1 Nov 2007 20:57:14 +0000 (16:57 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:03 +0000 (16:42 -0500)
commit9c7544d3a195cde33b3d1e46639b23c221f901db
treee7e40b375facc363268be3794f03fea5d2c57c20
parent5a022fc8700cadbac373766cf1b5c746ffec7164
NFSD: Use unsigned length argument for decode_pathname

Clean up: path 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/nfsxdr.c