Received: by mail.netbsd.org (Postfix, from userid 605) id 0D01784DAD; Sun, 8 Mar 2020 22:12:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 870B084DAA for ; Sun, 8 Mar 2020 22:12:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id VUdZ_fpNKk-L for ; Sun, 8 Mar 2020 22:12:43 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 2959484CD5 for ; Sun, 8 Mar 2020 22:12:43 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2765DFB27; Sun, 8 Mar 2020 22:12:43 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 8 Mar 2020 22:12:43 +0000 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= Subject: CVS commit: src/sys/nfs To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200308221243.2765DFB27@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: mgorny Date: Sun Mar 8 22:12:43 UTC 2020 Modified Files: src/sys/nfs: nfs_subs.c Log Message: Update NFS errno mapping and add assert for correctness Add the mapping for errno values missing in nfsrv_v2errmap[]. While at it, add a compile-time assert to make sure that the array does not become out-of-date again. To generate a diff of this commit: cvs rdiff -u -r1.237 -r1.238 src/sys/nfs/nfs_subs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.