From owner-cvs-all Thu Sep 27 21:37:14 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A5D6C37B410; Thu, 27 Sep 2001 21:37:09 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8S4b9j88928; Thu, 27 Sep 2001 21:37:09 -0700 (PDT) (envelope-from peter) Message-Id: <200109280437.f8S4b9j88928@freefall.freebsd.org> From: Peter Wemm Date: Thu, 27 Sep 2001 21:37:08 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfs nfs_common.c nfs_common.h src/sys/nfsclient nfsm_subs.h src/sys/nfsserver nfs.h nfs_serv.c nfs_srvcache.c nfs_srvsock.c nfs_srvsubs.c nfs_syscalls.c nfsm_subs.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG peter 2001/09/27 21:37:08 PDT Modified files: sys/nfs nfs_common.c nfs_common.h sys/nfsclient nfsm_subs.h sys/nfsserver nfs.h nfs_serv.c nfs_srvcache.c nfs_srvsock.c nfs_srvsubs.c nfs_syscalls.c nfsm_subs.h Log: Unwind some more macros. NFSMADV() was kinda silly since it was right next to equivalent m_len adjustments. Move the nfsm_subs.h macros into groups depending on which phase they are used in, since that affects the error recovery requirements. Collect some of the common error checking into a single macro as preparation for unwinding some more. Have nfs_rephead return a value instead of secretly modifying args. Remove some unused function arguments that were being passed around. Clarify nfsm_reply()'s error handling (I hope). Revision Changes Path 1.108 +2 -2 src/sys/nfs/nfs_common.c 1.33 +42 -36 src/sys/nfs/nfs_common.h 1.31 +64 -78 src/sys/nfsclient/nfsm_subs.h 1.64 +5 -6 src/sys/nfsserver/nfs.h 1.107 +3 -3 src/sys/nfsserver/nfs_serv.c 1.31 +4 -5 src/sys/nfsserver/nfs_srvcache.c 1.71 +7 -11 src/sys/nfsserver/nfs_srvsock.c 1.109 +2 -16 src/sys/nfsserver/nfs_srvsubs.c 1.72 +3 -3 src/sys/nfsserver/nfs_syscalls.c 1.31 +56 -60 src/sys/nfsserver/nfsm_subs.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message