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

nfsd4: name->id mapping should fail with BADOWNER not BADNAME



According to rfc 3530 BADNAME is for strings that represent paths;
BADOWNER is for user/group names that don't map.

And the too-long name should probably be BADOWNER as well; it's
effectively the same as if we couldn't map it.

Cc: stable@kernel.org
Reported-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Reported-by: default avatarSimon Kirby <sim@hostway.ca>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 255c7cf8
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