Skip to content
Commit 12391d07 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd: remove redundant zero-length check from create



lookup_one_len already has this check.

The only effect of this patch is to return access instead of perm in the
0-length-filename case.  I actually prefer nfserr_perm (or _inval?), but
I doubt anyone cares.

The isdotent check seems redundant too, but I worry that some client
might actually care about that strange nfserr_exist error.

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 7eed34f1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment