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
commitaf8aefc1087a470f4995487d02a3db98f5f6fce4 (patch)
treedd5dd47570ad3a52ad2d70a697483d110eca68fe /ufs
parentd7aad1552de22229703fc3cb117e32ee793d9d6c (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);