diff options
author | phk <phk@FreeBSD.org> | 1995-02-15 04:21:32 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-02-15 04:21:32 +0000 |
commit | 5911bb0d89bd3a924935ddc0999692facb05e4c2 (patch) | |
tree | 494f45234fbba1c33eb9980abde709ab10ab93bd /sys/nfsserver | |
parent | d1fc7583ad8be09614a9128bf96efddbb726da53 (diff) | |
download | FreeBSD-src-5911bb0d89bd3a924935ddc0999692facb05e4c2.zip FreeBSD-src-5911bb0d89bd3a924935ddc0999692facb05e4c2.tar.gz |
YF fix.
Diffstat (limited to 'sys/nfsserver')
-rw-r--r-- | sys/nfsserver/nfs_srvsubs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/nfsserver/nfs_srvsubs.c b/sys/nfsserver/nfs_srvsubs.c index c31efa7..d1c11c4 100644 --- a/sys/nfsserver/nfs_srvsubs.c +++ b/sys/nfsserver/nfs_srvsubs.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_subs.c 8.3 (Berkeley) 1/4/94 - * $Id: nfs_subs.c,v 1.9 1995/02/06 02:20:40 davidg Exp $ + * $Id: nfs_subs.c,v 1.10 1995/02/15 03:40:00 davidg Exp $ */ /* @@ -71,6 +71,8 @@ #include <miscfs/specfs/specdev.h> +#include <vm/vnode_pager.h> + #include <netinet/in.h> #ifdef ISO #include <netiso/iso.h> @@ -1173,7 +1175,6 @@ netaddr_match(family, haddr, nam) int nfsrv_vmio( struct vnode *vp) { - int rtval; vm_object_t object; vm_pager_t pager; @@ -1182,7 +1183,7 @@ nfsrv_vmio( struct vnode *vp) { retry: if( (vp->v_flag & VVMIO) == 0) { - pager = (vm_pager_t) vnode_pager_alloc(vp, 0, 0, 0); + pager = (vm_pager_t) vnode_pager_alloc((caddr_t) vp, 0, 0, 0); object = (vm_object_t) vp->v_vmdata; if( object->pager != pager) panic("nfsrv_vmio: pager/object mismatch"); |