diff options
Diffstat (limited to 'ext2fs/hyper.c')
-rw-r--r-- | ext2fs/hyper.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 |