diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-06-15 04:03:41 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-06-15 04:03:41 +0000 |
commit | 3ccd9f3943c50049f4fe38c472f6f8f5ef52a32f (patch) | |
tree | 99911020fe235a72f087dd1e7aaa3867d3dea88b /sys/nfs/nfs_serv.c | |
parent | a38d24a5c7191bd0a1a795981e0ea8c9a6178568 (diff) |
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; |