diff options
author | J. Bruce Fields <bfields@redhat.com> | 2010-11-12 14:36:06 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-11-19 18:35:12 -0500 |
commit | 044bc1d4324bfb34761cb361e404cb8d39c68777 (patch) | |
tree | 98bf87cc89da21863a43965a58b57809e6d3498b /fs/nfsd | |
parent | 5afa040b307952bb804eba34b21646da2842e14d (diff) |
nfsd4: return serverfault on request for ssv
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>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 2d191293e6aa..9e7f8af12f8f 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -1344,7 +1344,7 @@ nfsd4_exchange_id(struct svc_rqst *rqstp, | |||
1344 | case SP4_NONE: | 1344 | case SP4_NONE: |
1345 | break; | 1345 | break; |
1346 | case SP4_SSV: | 1346 | case SP4_SSV: |
1347 | return nfserr_encr_alg_unsupp; | 1347 | return nfserr_serverfault; |
1348 | default: | 1348 | default: |
1349 | BUG(); /* checked by xdr code */ | 1349 | BUG(); /* checked by xdr code */ |
1350 | case SP4_MACH_CRED: | 1350 | case SP4_MACH_CRED: |