summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2009-03-04 22:06:06 +0100
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-03-18 22:38:39 +0100
commit1e685ec270cb97680be4eb8cf6b615f5f7f1403a (patch)
tree0ac8729d2cce07f6e1a4f1f266df0e90dc749f28 /fs/nfsd
parentnfsd4: move rpc_client setup to a separate function (diff)
downloadlinux-1e685ec270cb97680be4eb8cf6b615f5f7f1403a.tar.xz
linux-1e685ec270cb97680be4eb8cf6b615f5f7f1403a.zip
NFSD: return nfsv4 error code nfserr_notsupp rather than nfsv[23]'s nfserr_opnotsupp
Thanks for Bill Baker at sun.com for catching this at Connectathon 2009. This bug was introduced in 2.6.27 Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index 9250067943d8..aaf5f234df25 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -1005,7 +1005,7 @@ nfsd4_decode_noop(struct nfsd4_compoundargs *argp, void *p)
static __be32
nfsd4_decode_notsupp(struct nfsd4_compoundargs *argp, void *p)
{
- return nfserr_opnotsupp;
+ return nfserr_notsupp;
}
typedef __be32(*nfsd4_dec)(struct nfsd4_compoundargs *argp, void *);