summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
Diffstat (limited to 'ufs')
-rw-r--r--ufs/pager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufs/pager.c b/ufs/pager.c
index ea5c1e66..5237c671 100644
--- a/ufs/pager.c
+++ b/ufs/pager.c
@@ -528,7 +528,7 @@ diskfs_shutdown_pager ()
error_t shutdown_one (struct pager *p)
{
/* Make sure the disk pager is done last. */
- if (p->upi != diskpager)
+ if (p != diskpager->p)
pager_shutdown (p);
return 0;
}
@@ -546,7 +546,7 @@ diskfs_sync_everything (int wait)
error_t sync_one (struct pager *p)
{
/* Make sure the disk pager is done last. */
- if (p != diskpager)
+ if (p != diskpager->p)
pager_sync (p, wait);
return 0;
}