nfsd4: return badname, not inval, on "." or "..", or "/"
authorJ. Bruce Fields <bfields@redhat.com>
Sun, 25 Nov 2012 21:31:00 +0000 (16:31 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 27 Nov 2012 21:41:48 +0000 (16:41 -0500)
commita36b1725b342c8131a86a0238789d8e7bcb490dd
treeda1227dae309127d0c44a611536cebc3f942d26e
parent063b0fb9fadadc0caaea6c8f31e3f6bc978a4904
nfsd4: return badname, not inval, on "." or "..", or "/"

The spec requires badname, not inval, in these cases.

Some callers want us to return enoent, but I can see no justification
for that.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c