diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/disk-pager.c | 3 | ||||
-rw-r--r-- | libdiskfs/diskfs-pager.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libdiskfs/disk-pager.c b/libdiskfs/disk-pager.c index 008aa2dc..434ceed9 100644 --- a/libdiskfs/disk-pager.c +++ b/libdiskfs/disk-pager.c @@ -24,6 +24,7 @@ __thread struct disk_image_user *diskfs_exception_diu; struct pager *diskfs_disk_pager; +struct pager_requests *diskfs_disk_pager_requests; static void fault_handler (int sig, long int sigcode, struct sigcontext *scp); static struct hurd_signal_preemptor preemptor = @@ -43,7 +44,7 @@ diskfs_start_disk_pager (struct user_pager_info *upi, mach_port_t disk_pager_port; /* Start libpagers worker threads. */ - err = pager_start_workers (pager_bucket); + err = pager_start_workers (pager_bucket, &diskfs_disk_pager_requests); if (err) error (2, err, "creating pager worker threads failed"); diff --git a/libdiskfs/diskfs-pager.h b/libdiskfs/diskfs-pager.h index a253069b..550ca644 100644 --- a/libdiskfs/diskfs-pager.h +++ b/libdiskfs/diskfs-pager.h @@ -40,6 +40,7 @@ extern void diskfs_start_disk_pager (struct user_pager_info *info, size_t size, void **image); extern struct pager *diskfs_disk_pager; +extern struct pager_requests *diskfs_disk_pager_requests; struct disk_image_user { |