summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_subs.c
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2009-08-13 15:18:17 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2009-08-13 15:18:17 +0000
commit46faf138ca97f0462a1c22674098875302fe10d0 (patch)
tree38f7d0af93cb6bd08300f0a5bfc69cb94f69de7d /sys/nfs/nfs_subs.c
parent27ef02a63edc4a527df8002407991a66a36c31a0 (diff)
Teach nfsm_fhtom about nfsm_info structs
ok thib@
Diffstat (limited to 'sys/nfs/nfs_subs.c')
-rw-r--r--sys/nfs/nfs_subs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c
index 09383380df4..1f301d5c36b 100644
--- a/sys/nfs/nfs_subs.c
+++ b/sys/nfs/nfs_subs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_subs.c,v 1.102 2009/08/13 15:03:19 blambert Exp $ */
+/* $OpenBSD: nfs_subs.c,v 1.103 2009/08/13 15:18:16 blambert Exp $ */
/* $NetBSD: nfs_subs.c,v 1.27.4.3 1996/07/08 20:34:24 jtc Exp $ */
/*
@@ -1883,14 +1883,14 @@ nfsm_build(struct mbuf **mp, u_int len)
}
void
-nfsm_fhtom(struct mbuf **mp, struct vnode *v, int v3)
+nfsm_fhtom(struct nfsm_info *info, struct vnode *v, int v3)
{
struct nfsnode *n = VTONFS(v);
if (v3) {
- nfsm_strtombuf(mp, n->n_fhp, n->n_fhsize);
+ nfsm_strtombuf(&info->nmi_mb, n->n_fhp, n->n_fhsize);
} else {
- nfsm_buftombuf(mp, n->n_fhp, NFSX_V2FH);
+ nfsm_buftombuf(&info->nmi_mb, n->n_fhp, NFSX_V2FH);
}
}