summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_bio.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2001-04-19 06:18:23 +0000
committeralfred <alfred@FreeBSD.org>2001-04-19 06:18:23 +0000
commit1e50a5f33ea05bb86ba5f20136e53c7a3d45df31 (patch)
tree0e1a9e9731cf8df9cefd145f30dee5712dc4b230 /sys/nfs/nfs_bio.c
parentf4adb6edecdd82553e9815c37a1f918845ea17e1 (diff)
downloadFreeBSD-src-1e50a5f33ea05bb86ba5f20136e53c7a3d45df31.zip
FreeBSD-src-1e50a5f33ea05bb86ba5f20136e53c7a3d45df31.tar.gz
vnode_pager_freepage() is really vm_page_free() in disguise,
nuke vnode_pager_freepage() and replace all calls to it with vm_page_free()
Diffstat (limited to 'sys/nfs/nfs_bio.c')
-rw-r--r--sys/nfs/nfs_bio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c
index 442af96..cb7297f 100644
--- a/sys/nfs/nfs_bio.c
+++ b/sys/nfs/nfs_bio.c
@@ -143,7 +143,7 @@ nfs_getpages(ap)
/* vm_page_zero_invalid(m, TRUE); */
for (i = 0; i < npages; ++i) {
if (i != ap->a_reqpage)
- vnode_pager_freepage(pages[i]);
+ vm_page_free(pages[i]);
}
return(0);
}
@@ -177,7 +177,7 @@ nfs_getpages(ap)
printf("nfs_getpages: error %d\n", error);
for (i = 0; i < npages; ++i) {
if (i != ap->a_reqpage)
- vnode_pager_freepage(pages[i]);
+ vm_page_free(pages[i]);
}
return VM_PAGER_ERROR;
}
@@ -233,7 +233,7 @@ nfs_getpages(ap)
vm_page_deactivate(m);
vm_page_wakeup(m);
} else {
- vnode_pager_freepage(m);
+ vm_page_free(m);
}
}
}
OpenPOWER on IntegriCloud