diff options
author | Roland McGrath <roland@gnu.org> | 1996-01-06 16:58:13 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-01-06 16:58:13 +0000 |
commit | d1f65e5d2b27d0025a00a39d1bf2abd7fced0cac (patch) | |
tree | 71a617d549217464da10b6cefaff84907e11cd8f /ext2fs/pager.c | |
parent | 8bbd3f4beff3f3118c5d4e30d778fc67efc296b9 (diff) |
(pager_bucket): Made global.
(create_disk_pager): Pass MAY_CACHE to disk_setup_pager.
Diffstat (limited to 'ext2fs/pager.c')
-rw-r--r-- | ext2fs/pager.c | 4 |
1 files 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. |