summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsfh.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2016-07-19 17:25:42 -0400
committerJ. Bruce Fields <bfields@redhat.com>2016-08-04 17:11:47 -0400
commit12391d07230ec7368269227207b961b2dcb34180 (patch)
tree3ffb23bd0c768d500335d61977e96f30397f4c92 /fs/nfsd/nfsfh.c
parent7eed34f18d9f0f96f51bfb73d649a51a20857eb0 (diff)
downloadop-kernel-dev-12391d07230ec7368269227207b961b2dcb34180.zip
op-kernel-dev-12391d07230ec7368269227207b961b2dcb34180.tar.gz
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: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsfh.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud