summaryrefslogtreecommitdiff
path: root/ext2fs/pager.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-06-25 21:34:55 +0000
committerMiles Bader <miles@gnu.org>1996-06-25 21:34:55 +0000
commit05ae11b794dbf1226077421095bbeeb65d11c2a0 (patch)
tree1cf2f0b2b50368c88e81587e63412a7db53b6bb8 /ext2fs/pager.c
parentcfebe01e93fb123e31c295d4901d85eb7d5eb954 (diff)
(diskfs_grow): Add call diskfs_check_readonly to clear clean bit.
Diffstat (limited to 'ext2fs/pager.c')
-rw-r--r--ext2fs/pager.c1
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)