[PATCH] NFSD: Add NFS3ERR_NOTSUPP to the nfsd error mapping table
authorAndreas Gruenbacher <agruen@suse.de>
Wed, 22 Jun 2005 17:16:24 +0000 (17:16 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 20:07:21 +0000 (16:07 -0400)
 Add the missing NFS3ERR_NOTSUPP error code (defined in NFSv3) to the
 system-to-protocol-error table in nfsd.  The nfsacl extension uses this error
 code.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Olaf Kirch <okir@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfsd/nfsproc.c

index 757f9d2080340b1240443704dee70308945b0fb6..0aa1b9603d7f6282a00cbe2e7c7efafb89e44926 100644 (file)
@@ -591,6 +591,7 @@ nfserrno (int errno)
                { nfserr_dropit, -ENOMEM },
                { nfserr_badname, -ESRCH },
                { nfserr_io, -ETXTBSY },
+               { nfserr_notsupp, -EOPNOTSUPP },
                { -1, -EIO }
        };
        int     i;