Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 08ef7bd3 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 0c2e53f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment