diff options
author | Trond Myklebust <[email protected]> | 2011-10-18 16:11:49 -0700 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2011-10-18 16:13:51 -0700 |
commit | 08ef7bd3bc04261d14d570ac7eaac3eac947b1ba (patch) | |
tree | cc64173b71d4df4a8da4fd2230ae121828fd5443 /lib/dma-debug.c | |
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 <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions