diff options
author | julian <julian@FreeBSD.org> | 1999-06-23 04:44:14 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1999-06-23 04:44:14 +0000 |
commit | 7dc5713bf7cae88a743357e8d145c14a16b4c479 (patch) | |
tree | 5982e112fadd3247568a638b574b7ecc6a296f56 /sys/nfs/nfs_common.h | |
parent | 4ee2bd7866bcaa857224f4b0f0efdd91c7e2d0cd (diff) | |
download | FreeBSD-src-7dc5713bf7cae88a743357e8d145c14a16b4c479.zip FreeBSD-src-7dc5713bf7cae88a743357e8d145c14a16b4c479.tar.gz |
Matt's NFS fixes.
Submitted by: Matt Dillon
Reviewed by: David Cross, Julian Elischer, Mike Smith, Drew Gallatin
3.2 version to follow when tested
Diffstat (limited to 'sys/nfs/nfs_common.h')
-rw-r--r-- | sys/nfs/nfs_common.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/nfs/nfs_common.h b/sys/nfs/nfs_common.h index 71d9f7b..5efe149 100644 --- a/sys/nfs/nfs_common.h +++ b/sys/nfs/nfs_common.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfsm_subs.h 8.2 (Berkeley) 3/30/95 - * $Id: nfsm_subs.h,v 1.22 1998/12/25 10:34:27 dfr Exp $ + * $Id: nfsm_subs.h,v 1.23 1999/06/05 05:35:03 peter Exp $ */ @@ -392,9 +392,10 @@ struct mbuf *nfsm_rpchead __P((struct ucred *cr, int nmflag, int procid, } \ mreq = *mrq; \ if (error && (!(nfsd->nd_flag & ND_NFSV3) || \ - error == EBADRPC)) \ - return(0); \ - } + error == EBADRPC)) { \ + error = 0; \ + goto nfsmout; \ + } } #define nfsm_writereply(s, v3) \ { \ |