summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext2fs/pager.c4
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.