]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix some problems that were introduced in revision 1.97. Instead
authorIan Dowse <iedowse@FreeBSD.org>
Fri, 9 Feb 2001 13:24:06 +0000 (13:24 +0000)
committerIan Dowse <iedowse@FreeBSD.org>
Fri, 9 Feb 2001 13:24:06 +0000 (13:24 +0000)
commit27d9bb4e4415a5e2e69971dad987901be76fd587
treeb5bfac761a57b545a0df769fc4d84fe798d1655e
parent17ada6846244e6354dcbc3b0dbc7dcdc71c4034b
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
sys/nfs/nfs_serv.c
sys/nfsserver/nfs_serv.c