summaryrefslogtreecommitdiff
path: root/fs/nfs/callback.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-10-18 23:11:49 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-10-18 23:13:51 (GMT)
commit08ef7bd3bc04261d14d570ac7eaac3eac947b1ba (patch)
treecc64173b71d4df4a8da4fd2230ae121828fd5443 /fs/nfs/callback.h
parent0c2e53f11a6dae9e3af5f50f5ad0382e7c3e0cfa (diff)
downloadlinux-08ef7bd3bc04261d14d570ac7eaac3eac947b1ba.tar.xz
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 'fs/nfs/callback.h')
0 files changed, 0 insertions, 0 deletions