Date: Fri, 9 Feb 2001 05:24:07 -0800 (PST) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfs nfs_serv.c Message-ID: <200102091324.f19DO7Z60326@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102091324.f19DO7Z60326>