Commit 1e685ec2 authored by Benny Halevy's avatar Benny Halevy Committed by J. Bruce Fields

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: default avatarBenny Halevy <bhalevy@panasas.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent a601caed
...@@ -1005,7 +1005,7 @@ nfsd4_decode_noop(struct nfsd4_compoundargs *argp, void *p) ...@@ -1005,7 +1005,7 @@ nfsd4_decode_noop(struct nfsd4_compoundargs *argp, void *p)
static __be32 static __be32
nfsd4_decode_notsupp(struct nfsd4_compoundargs *argp, void *p) nfsd4_decode_notsupp(struct nfsd4_compoundargs *argp, void *p)
{ {
return nfserr_opnotsupp; return nfserr_notsupp;
} }
typedef __be32(*nfsd4_dec)(struct nfsd4_compoundargs *argp, void *); typedef __be32(*nfsd4_dec)(struct nfsd4_compoundargs *argp, void *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment