summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-10-23 10:41:12 -0400
committerJ. Bruce Fields <bfields@redhat.com>2020-11-05 17:20:12 -0500
commit66d60e3ad1e44d42d940767f62bf265f107fb628 (patch)
tree516f071d9827605b654aa83c0d46cb344653593c /kernel
parentd321ff589c16d8c2207485a6d7fbdb14e873d46e (diff)
downloadlinux-66d60e3ad1e44d42d940767f62bf265f107fb628.tar.bz2
NFSD: MKNOD should return NFSERR_BADTYPE instead of NFSERR_INVAL
A late paragraph of RFC 1813 Section 3.3.11 states: | ... if the server does not support the target type or the | target type is illegal, the error, NFS3ERR_BADTYPE, should | be returned. Note that NF3REG, NF3DIR, and NF3LNK are | illegal types for MKNOD. The Linux NFS server incorrectly returns NFSERR_INVAL in these cases. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions