diff options
Diffstat (limited to 'ext2fs/pager.c')
-rw-r--r-- | ext2fs/pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/pager.c b/ext2fs/pager.c index f8e16d46..3f4674b4 100644 --- a/ext2fs/pager.c +++ b/ext2fs/pager.c @@ -811,7 +811,7 @@ diskfs_get_filemap (struct node *node, vm_prot_t prot) malloc (sizeof (struct user_pager_info)); upi->type = FILE_DATA; upi->node = node; - upi->max_prot = 0; + upi->max_prot = prot; diskfs_nref_light (node); node->dn->pager = pager_create (upi, pager_bucket, MAY_CACHE, |