Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262727AbVAVUgU (ORCPT ); Sat, 22 Jan 2005 15:36:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262743AbVAVUgB (ORCPT ); Sat, 22 Jan 2005 15:36:01 -0500 Received: from ns.suse.de ([195.135.220.2]:45264 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S262727AbVAVUea (ORCPT ); Sat, 22 Jan 2005 15:34:30 -0500 Message-Id: <20050122203619.162776000@blunzn.suse.de> References: <20050122203326.402087000@blunzn.suse.de> Date: Sat, 22 Jan 2005 21:34:03 +0100 From: Andreas Gruenbacher To: linux-kernel@vger.kernel.org, Neil Brown , Trond Myklebust Cc: Olaf Kirch , "Andries E. Brouwer" , Buck Huppmann , Andrew Morton Subject: [patch 3/13] Add missing -EOPNOTSUPP => NFS3ERR_NOTSUPP mapping in nfsd Content-Disposition: inline; filename=patches.suse/sunrpc-enotsupp Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 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-rc2/fs/nfsd/nfsproc.c =================================================================== --- linux-2.6.11-rc2.orig/fs/nfsd/nfsproc.c +++ linux-2.6.11-rc2/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/