]> git.karo-electronics.de Git - linux-beck.git/commitdiff
nfsd4: return serverfault on request for ssv
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 12 Nov 2010 19:36:06 +0000 (14:36 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 19 Nov 2010 23:35:12 +0000 (18:35 -0500)
We're refusing to support a mandatory features of 4.1, so serverfault
seems the better error; see e.g.:

http://www.ietf.org/mail-archive/web/nfsv4/current/msg07638.html

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c

index 2d191293e6aa3a406cb68be97cdc03e71780171e..9e7f8af12f8fa6739611ec5a1c895e4942d0e52b 100644 (file)
@@ -1344,7 +1344,7 @@ nfsd4_exchange_id(struct svc_rqst *rqstp,
        case SP4_NONE:
                break;
        case SP4_SSV:
-               return nfserr_encr_alg_unsupp;
+               return nfserr_serverfault;
        default:
                BUG();                          /* checked by xdr code */
        case SP4_MACH_CRED: