diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-10-18 19:11:49 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-10-18 19:13:51 -0400 |
commit | 08ef7bd3bc04261d14d570ac7eaac3eac947b1ba (patch) | |
tree | cc64173b71d4df4a8da4fd2230ae121828fd5443 /Kbuild | |
parent | 0c2e53f11a6dae9e3af5f50f5ad0382e7c3e0cfa (diff) |
NFSv4: Translate NFS4ERR_BADNAME into ENOENT when applied to a lookup
Both LOOKUP and OPEN operations may return NFS4ERR_BADNAME if we send a
an invalid name as a filename argument. As far as the application is
concerned, it just has to know that the file doesn't exist, and so
ENOENT would be the appropriate reply. We should only return EINVAL
if the filename is being used to _create_ a new object on the
remote filesystem.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions