diff options
-rw-r--r-- | ext2fs/pager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext2fs/pager.c b/ext2fs/pager.c index 2c6b6eab..bab2e791 100644 --- a/ext2fs/pager.c +++ b/ext2fs/pager.c @@ -477,6 +477,7 @@ pager_unlock_page (struct user_pager_info *pager, vm_offset_t page) error_t diskfs_grow (struct node *node, off_t size, struct protid *cred) { + diskfs_check_readonly (); assert (!diskfs_readonly); if (size > node->allocsize) |