From d1f65e5d2b27d0025a00a39d1bf2abd7fced0cac Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 6 Jan 1996 16:58:13 +0000 Subject: (pager_bucket): Made global. (create_disk_pager): Pass MAY_CACHE to disk_setup_pager. --- ext2fs/pager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext2fs/pager.c b/ext2fs/pager.c index 833ad8d2..8cd0659a 100644 --- a/ext2fs/pager.c +++ b/ext2fs/pager.c @@ -22,7 +22,7 @@ #include "ext2fs.h" /* A ports bucket to hold pager ports. */ -static struct port_bucket *pager_bucket; +struct port_bucket *pager_bucket; spin_lock_t node_to_page_lock = SPIN_LOCK_INITIALIZER; @@ -665,7 +665,7 @@ create_disk_pager (void) struct user_pager_info *upi = malloc (sizeof (struct user_pager_info)); upi->type = DISK; - disk_pager_setup (upi); + disk_pager_setup (upi, MAY_CACHE); } /* Call this to create a FILE_DATA pager and return a send right. -- cgit v1.2.3