From: J. Bruce Fields Date: Tue, 4 Jan 2011 23:02:15 +0000 (-0500) Subject: nfsd4: name->id mapping should fail with BADOWNER not BADNAME X-Git-Tag: v2.6.37.1~160 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39708a71e7632872d2678d0cba0448bd867cddf9;p=pandora-kernel.git nfsd4: name->id mapping should fail with BADOWNER not BADNAME commit f6af99ec1b261e21219d5eba99e3af48fc6c32d4 upstream. According to rfc 3530 BADNAME is for strings that represent paths; BADOWNER is for user/group names that don't map. And the too-long name should probably be BADOWNER as well; it's effectively the same as if we couldn't map it. Reported-by: Trond Myklebust Reported-by: Simon Kirby Signed-off-by: J. Bruce Fields Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed