summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-21 19:11:17 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-21 19:11:17 +0000
commit8cced7ac1796db55319a593bb60586f68d567ecb (patch)
treeeabb121a61a7c6ec3fb8b02f9b9d178a93ad4ef1 /ufs
parentd19a8d58ffb63f921c279e60a3fbb7092952527e (diff)
(diskfs_sync_everything, diskfs_shutdown_pager): Conform to prototype.
Diffstat (limited to 'ufs')
-rw-r--r--ufs/pager.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ufs/pager.c b/ufs/pager.c
index 5237c671..938e1127 100644
--- a/ufs/pager.c
+++ b/ufs/pager.c
@@ -525,8 +525,9 @@ diskfs_get_filemap_pager_struct (struct node *np)
void
diskfs_shutdown_pager ()
{
- error_t shutdown_one (struct pager *p)
+ error_t shutdown_one (void *arg)
{
+ struct pager *p = arg;
/* Make sure the disk pager is done last. */
if (p != diskpager->p)
pager_shutdown (p);
@@ -543,8 +544,9 @@ diskfs_shutdown_pager ()
void
diskfs_sync_everything (int wait)
{
- error_t sync_one (struct pager *p)
+ error_t sync_one (void *arg)
{
+ struct pager *p = arg;
/* Make sure the disk pager is done last. */
if (p != diskpager->p)
pager_sync (p, wait);