mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 21:44:34 +01:00
Remove unused arguments for VOP_GETPAGES(), VOP_PUTPAGES().
This commit is contained in:
parent
1b44e5ffe3
commit
27ad26d8c7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271387
@ -5829,7 +5829,6 @@ zfs_freebsd_getpages(ap)
|
||||
vm_page_t *a_m;
|
||||
int a_count;
|
||||
int a_reqpage;
|
||||
vm_ooffset_t a_offset;
|
||||
} */ *ap;
|
||||
{
|
||||
|
||||
@ -5990,7 +5989,6 @@ zfs_freebsd_putpages(ap)
|
||||
int a_count;
|
||||
int a_sync;
|
||||
int *a_rtvals;
|
||||
vm_ooffset_t a_offset;
|
||||
} */ *ap;
|
||||
{
|
||||
|
||||
|
@ -1721,7 +1721,6 @@ fuse_vnop_write(struct vop_write_args *ap)
|
||||
vm_page_t *a_m;
|
||||
int a_count;
|
||||
int a_reqpage;
|
||||
vm_ooffset_t a_offset;
|
||||
};
|
||||
*/
|
||||
static int
|
||||
|
@ -419,7 +419,6 @@ smbfs_getpages(ap)
|
||||
vm_page_t *a_m;
|
||||
int a_count;
|
||||
int a_reqpage;
|
||||
vm_ooffset_t a_offset;
|
||||
} */ *ap;
|
||||
{
|
||||
#ifdef SMBFS_RWGENERIC
|
||||
@ -568,7 +567,6 @@ smbfs_putpages(ap)
|
||||
int a_count;
|
||||
int a_sync;
|
||||
int *a_rtvals;
|
||||
vm_ooffset_t a_offset;
|
||||
} */ *ap;
|
||||
{
|
||||
int error;
|
||||
|
@ -721,7 +721,6 @@ vop_stdgetpages(ap)
|
||||
vm_page_t *a_m;
|
||||
int a_count;
|
||||
int a_reqpage;
|
||||
vm_ooffset_t a_offset;
|
||||
} */ *ap;
|
||||
{
|
||||
|
||||
@ -744,7 +743,6 @@ vop_stdputpages(ap)
|
||||
int a_count;
|
||||
int a_sync;
|
||||
int *a_rtvals;
|
||||
vm_ooffset_t a_offset;
|
||||
} */ *ap;
|
||||
{
|
||||
|
||||
|
@ -473,7 +473,6 @@ vop_getpages {
|
||||
IN vm_page_t *m;
|
||||
IN int count;
|
||||
IN int reqpage;
|
||||
IN vm_ooffset_t offset;
|
||||
};
|
||||
|
||||
|
||||
@ -485,7 +484,6 @@ vop_putpages {
|
||||
IN int count;
|
||||
IN int sync;
|
||||
IN int *rtvals;
|
||||
IN vm_ooffset_t offset;
|
||||
};
|
||||
|
||||
|
||||
|
@ -657,7 +657,7 @@ vnode_pager_getpages(vm_object_t object, vm_page_t *m, int count, int reqpage)
|
||||
|
||||
vp = object->handle;
|
||||
VM_OBJECT_WUNLOCK(object);
|
||||
rtval = VOP_GETPAGES(vp, m, bytes, reqpage, 0);
|
||||
rtval = VOP_GETPAGES(vp, m, bytes, reqpage);
|
||||
KASSERT(rtval != EOPNOTSUPP,
|
||||
("vnode_pager: FS getpages not implemented\n"));
|
||||
VM_OBJECT_WLOCK(object);
|
||||
@ -1035,7 +1035,7 @@ vnode_pager_putpages(vm_object_t object, vm_page_t *m, int count,
|
||||
*/
|
||||
vp = object->handle;
|
||||
VM_OBJECT_WUNLOCK(object);
|
||||
rtval = VOP_PUTPAGES(vp, m, bytes, sync, rtvals, 0);
|
||||
rtval = VOP_PUTPAGES(vp, m, bytes, sync, rtvals);
|
||||
KASSERT(rtval != EOPNOTSUPP,
|
||||
("vnode_pager: stale FS putpages\n"));
|
||||
VM_OBJECT_WLOCK(object);
|
||||
|
Loading…
Reference in New Issue
Block a user