summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/ChangeLog4
-rw-r--r--ext2fs/hyper.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/ext2fs/ChangeLog b/ext2fs/ChangeLog
index d8741b9c..235c4d6e 100644
--- a/ext2fs/ChangeLog
+++ b/ext2fs/ChangeLog
@@ -1,3 +1,7 @@
+Mon Aug 12 11:18:37 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * hyper.c (diskfs_set_hypermetadata): Return an error code now.
+
Fri Aug 2 12:10:40 1996 Miles Bader <miles@gnu.ai.mit.edu>
* inode.c (diskfs_write_disknode): If WAIT is false, still record
diff --git a/ext2fs/hyper.c b/ext2fs/hyper.c
index f46d0fcb..293574a6 100644
--- a/ext2fs/hyper.c
+++ b/ext2fs/hyper.c
@@ -144,7 +144,7 @@ get_hypermetadata (void)
vm_allocate (mach_task_self (), &zeroblock, block_size, 1);
}
-void
+error_t
diskfs_set_hypermetadata (int wait, int clean)
{
if (clean && ext2fs_clean && !(sblock->s_state & EXT2_VALID_FS))
@@ -168,6 +168,9 @@ diskfs_set_hypermetadata (int wait, int clean)
}
sync_global (wait);
+
+ /* Should check writability here and return EROFS if necessary. XXX */
+ return 0;
}
void