diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-10-18 16:11:49 -0700 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-10-18 16:13:51 -0700 |
commit | 08ef7bd3bc04261d14d570ac7eaac3eac947b1ba (patch) | |
tree | cc64173b71d4df4a8da4fd2230ae121828fd5443 /include/linux/nfs_xdr.h | |
parent | 0c2e53f11a6dae9e3af5f50f5ad0382e7c3e0cfa (diff) | |
download | op-kernel-dev-08ef7bd3bc04261d14d570ac7eaac3eac947b1ba.zip op-kernel-dev-08ef7bd3bc04261d14d570ac7eaac3eac947b1ba.tar.gz |
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 'include/linux/nfs_xdr.h')
0 files changed, 0 insertions, 0 deletions