diff options
| author | 2008-06-15 04:03:40 +0000 | |
|---|---|---|
| committer | 2008-06-15 04:03:40 +0000 | |
| commit | cfd2d49a6e2cb99bfc8865964c5047ed96b61d8d (patch) | |
| tree | 4e3db42a777e5f7e18e9f7d61c57475550275715 /sys/nfs/nfs_serv.c | |
| parent | fix filehandle comparison between NFSv2 and NFSv3 filehandles (diff) | |
| download | wireguard-openbsd-cfd2d49a6e2cb99bfc8865964c5047ed96b61d8d.tar.xz wireguard-openbsd-cfd2d49a6e2cb99bfc8865964c5047ed96b61d8d.zip | |
unroll the NFSMADV() macro and nuke it
ok blambert@
Diffstat (limited to 'sys/nfs/nfs_serv.c')
| -rw-r--r-- | sys/nfs/nfs_serv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c index ce08e07972e..f386ced1f03 100644 --- a/sys/nfs/nfs_serv.c +++ b/sys/nfs/nfs_serv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_serv.c,v 1.56 2008/06/14 22:44:07 blambert Exp $ */ +/* $OpenBSD: nfs_serv.c,v 1.57 2008/06/15 04:03:40 thib Exp $ */ /* $NetBSD: nfs_serv.c,v 1.34 1997/05/12 23:37:12 fvdl Exp $ */ /* @@ -725,7 +725,7 @@ nfsrv_write(nfsd, slp, procp, mrq) adjust = dpos - mtod(mp, caddr_t); mp->m_len -= adjust; if (mp->m_len > 0 && adjust > 0) - NFSMADV(mp, adjust); + mp->m_data += adjust; } if (zeroing) mp->m_len = 0; @@ -920,7 +920,7 @@ nfsrv_writegather(ndp, slp, procp, mrq) adjust = dpos - mtod(mp, caddr_t); mp->m_len -= adjust; if (mp->m_len > 0 && adjust > 0) - NFSMADV(mp, adjust); + mp->m_data += adjust; } if (zeroing) mp->m_len = 0; |
