diff options
| author | 2008-06-14 22:44:07 +0000 | |
|---|---|---|
| committer | 2008-06-14 22:44:07 +0000 | |
| commit | b57bdb56ad006e82c93547148c514d2d7ddec7b3 (patch) | |
| tree | ffd9887961a1bb5e9474e8560002975677a27cdf /sys/nfs/nfs_vfsops.c | |
| parent | sync (missed last time round) (diff) | |
| download | wireguard-openbsd-b57bdb56ad006e82c93547148c514d2d7ddec7b3.tar.xz wireguard-openbsd-b57bdb56ad006e82c93547148c514d2d7ddec7b3.zip | |
Replace nfsm_build/bcopy with nfsm_{buf,str}tombuf functions in
filehandle -> mbuf write macros.
Removes `magic' variable cp which was used only in these macros,
and should lead to marginally better mbuf packing as well.
`slap it in' thib@
Diffstat (limited to 'sys/nfs/nfs_vfsops.c')
| -rw-r--r-- | sys/nfs/nfs_vfsops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c index 3a57d09f6bb..3084e8a88f4 100644 --- a/sys/nfs/nfs_vfsops.c +++ b/sys/nfs/nfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vfsops.c,v 1.75 2008/06/13 22:11:32 blambert Exp $ */ +/* $OpenBSD: nfs_vfsops.c,v 1.76 2008/06/14 22:44:07 blambert Exp $ */ /* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */ /* @@ -111,7 +111,6 @@ nfs_statfs(mp, sbp, p) { struct vnode *vp; struct nfs_statfs *sfp = NULL; - caddr_t cp; u_int32_t *tl; int32_t t1; caddr_t dpos, cp2; @@ -186,7 +185,6 @@ nfs_fsinfo(nmp, vp, cred, p) struct proc *p; { struct nfsv3_fsinfo *fsp; - caddr_t cp; int32_t t1; u_int32_t *tl, pref, max; caddr_t dpos, cp2; |
