From owner-cvs-all Fri Feb 9 5:24:29 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 49FE537B69D; Fri, 9 Feb 2001 05:24:07 -0800 (PST) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f19DO7Z60326; Fri, 9 Feb 2001 05:24:07 -0800 (PST) (envelope-from iedowse) Message-Id: <200102091324.f19DO7Z60326@freefall.freebsd.org> From: Ian Dowse Date: Fri, 9 Feb 2001 05:24:07 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfs nfs_serv.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG iedowse 2001/02/09 05:24:07 PST Modified files: sys/nfs nfs_serv.c Log: Fix some problems that were introduced in revision 1.97. Instead of returning an error code to the caller, NFS server op routines must themselves build an error reply and return 0 to the caller. This is achieved by replacing the erroneous return statements with code that jumps forward to the op function's reply code. We need to be careful to ensure that the 'struct mount' pointer is NULL though, so that the final vn_finished_write() call becomes a no-op. Reviewed by: mckusick, dillon Revision Changes Path 1.99 +102 -47 src/sys/nfs/nfs_serv.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message