Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261471AbVB0Rts (ORCPT ); Sun, 27 Feb 2005 12:49:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261456AbVB0RsC (ORCPT ); Sun, 27 Feb 2005 12:48:02 -0500 Received: from mail.suse.de ([195.135.220.2]:9379 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S261457AbVB0RXE (ORCPT ); Sun, 27 Feb 2005 12:23:04 -0500 Message-Id: <20050227170312.031622000@blunzn.suse.de> References: <20050227165954.566746000@blunzn.suse.de> Date: Sun, 27 Feb 2005 17:59:58 +0100 From: Andreas Gruenbacher To: linux-kernel@vger.kernel.org, Neil Brown , Trond Myklebust Cc: Olaf Kirch , "Andries E. Brouwer" , Andrew Morton Subject: [nfsacl v2 04/16] Add missing -EOPNOTSUPP => NFS3ERR_NOTSUPP mapping in nfsd Content-Disposition: inline; filename=nfsacl-add-missing-eopnotsupp-=-nfs3err_notsupp-mapping-in-nfsd.patch Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 963 Lines: 29 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 Signed-off-by: Olaf Kirch Index: linux-2.6.11-rc5/fs/nfsd/nfsproc.c =================================================================== --- linux-2.6.11-rc5.orig/fs/nfsd/nfsproc.c +++ linux-2.6.11-rc5/fs/nfsd/nfsproc.c @@ -590,6 +590,7 @@ nfserrno (int errno) { nfserr_dropit, -EAGAIN }, { nfserr_dropit, -ENOMEM }, { nfserr_badname, -ESRCH }, + { nfserr_notsupp, -EOPNOTSUPP }, { -1, -EIO } }; int i; -- Andreas Gruenbacher SUSE Labs, SUSE LINUX PRODUCTS GMBH - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/