diff options
author | bp <bp@FreeBSD.org> | 2001-05-03 09:00:54 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 2001-05-03 09:00:54 +0000 |
commit | 11e8bff787cf80b774f9eb4136ea84dc96975c0f (patch) | |
tree | e566db7cc723f72f030a52bdf9bb06d788508961 /sys/fs/smbfs | |
parent | 88b26e80b83124297ad9fae116bdcd6171bebe99 (diff) | |
download | FreeBSD-src-11e8bff787cf80b774f9eb4136ea84dc96975c0f.zip FreeBSD-src-11e8bff787cf80b774f9eb4136ea84dc96975c0f.tar.gz |
Convert vnode_pager_freepage() to vm_free_page().
Forgotten by: alfred
Diffstat (limited to 'sys/fs/smbfs')
-rw-r--r-- | sys/fs/smbfs/smbfs_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/smbfs/smbfs_io.c b/sys/fs/smbfs/smbfs_io.c index 352c323..3913f1a 100644 --- a/sys/fs/smbfs/smbfs_io.c +++ b/sys/fs/smbfs/smbfs_io.c @@ -470,7 +470,7 @@ smbfs_getpages(ap) printf("smbfs_getpages: error %d\n",error); for (i = 0; i < npages; i++) { if (ap->a_reqpage != i) - vnode_pager_freepage(pages[i]); + vm_page_free(pages[i]); } return VM_PAGER_ERROR; } @@ -512,7 +512,7 @@ smbfs_getpages(ap) vm_page_deactivate(m); vm_page_wakeup(m); } else { - vnode_pager_freepage(m); + vm_page_free(m); } } } |