mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
a601caeda2
commit
1e685ec270
1 changed files with 1 additions and 1 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Reference in a new issue