diff options
author | Thomas Bushnell <thomas@gnu.org> | 1996-08-12 18:31:04 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1996-08-12 18:31:04 +0000 |
commit | 9474c6318ad2effa3e80246d1012cb111e726bf0 (patch) | |
tree | b1f5dbfbd38913dcc4ebf721f81443472937dec0 /ext2fs | |
parent | 4b4fc640461f0f6e152204deda38a4e9272fe9e1 (diff) |
*** empty log message ***
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/ChangeLog | 4 | ||||
-rw-r--r-- | ext2fs/hyper.c | 5 |
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 |